Commit 6852a4a420674db0fd818811596e9895e63535cf

Authored by Administrator
1 parent 0ffb03bd

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');
  74 + $this->view->registerJsFile (\Yii::$app->request->BaseUrl . '/js/widget-carousel/'.$slider->title.'/style.js', ['position' => View::POS_END]);
75 75 }
76 76  
77 77 public function htmlSlider ($slider, $images)
... ...