From e81a5372efd28bbff7bb13bb127599f25cf755a7 Mon Sep 17 00:00:00 2001 From: Веталь Date: Wed, 8 Feb 2017 13:38:45 +0200 Subject: [PATCH] -collection --- frontend/views/site/index.php | 9 --------- frontend/web/js/new_script.js | 11 ++++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php index 7dfb863..1e920f9 100755 --- a/frontend/views/site/index.php +++ b/frontend/views/site/index.php @@ -67,15 +67,6 @@ responsiveClass: true, navSpeed:200, }) -$('#collection .new_collection').owlCarousel({ - navigation : true, // Show next and prev buttons - slideSpeed : 500, - autoplayTimeout:3000, - paginationSpeed : 1000, - singleItem:true, - autoPlay:true - - }); "; diff --git a/frontend/web/js/new_script.js b/frontend/web/js/new_script.js index 4d671c8..eda892c 100755 --- a/frontend/web/js/new_script.js +++ b/frontend/web/js/new_script.js @@ -132,6 +132,15 @@ $(document).ready(function () { } - + $('#collection .new_collection').owlCarousel({ + navigation : true, // Show next and prev buttons + slideSpeed : 500, + autoplayTimeout:3000, + paginationSpeed : 1000, + singleItem:true, + autoPlay:true + + }); + }) \ No newline at end of file -- libgit2 0.21.4