Commit 0ffb03bd9c804c83d6c413a889eb70b5de1c44af

Authored by Administrator
1 parent 5c1492cf

image size

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/widgets/SliderWidget.php
... ... @@ -71,7 +71,7 @@ class SliderWidget extends Widget
71 71 ', 1);
72 72  
73 73 $this->view->registerCssFile (\Yii::$app->request->BaseUrl . '/js/widget-carousel/'.$slider->title.'/style.css');
74   - $this->view->registerJsFile (\Yii::$app->request->BaseUrl . '/js/widget-carousel/'.$slider->title.'/style.js', View::POS_END);
  74 + $this->view->registerJsFile (\Yii::$app->request->BaseUrl . '/js/widget-carousel/'.$slider->title.'/style.js');
75 75 }
76 76  
77 77 public function htmlSlider ($slider, $images)
... ...