diff --git a/frontend/config/main.php b/frontend/config/main.php index bb7b555..30f04cd 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -12,13 +12,6 @@ return [ 'bootstrap' => ['log'], 'controllerNamespace' => 'frontend\controllers', 'components' => [ - 'assetManager' => [ - 'bundles' => [ - 'yii\web\JqueryAsset' =>[ - 'jsOptions' => ['position' => \yii\web\View::POS_END] - ] - ], - ], 'authManager' => [ 'class' => 'yii\rbac\DbManager', ], diff --git a/frontend/views/catalog/brand.php b/frontend/views/catalog/brand.php index 8122d5d..aa4f578 100644 --- a/frontend/views/catalog/brand.php +++ b/frontend/views/catalog/brand.php @@ -21,11 +21,7 @@ $this->params['seo']['key']= 'product_list'; $this->registerCssFile (Yii::getAlias('@web/css/ion.rangeSlider.css')); $this->registerCssFile (Yii::getAlias('@web/css/ion.rangeSlider.skinHTML5.css')); - -$this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ - 'position' => View::POS_END, - 'depends' => ['yii\web\JqueryAsset'] -]); +$this->registerJsFile (Yii::getAlias('@web/js/ion.rangeSlider.js')); ?>