Commit 5c1492cfbc2240a5ab51281921b8cdd6415d9a7c
1 parent
3a8a9bd9
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', View::POS_END); | |
75 | 75 | } |
76 | 76 | |
77 | 77 | public function htmlSlider ($slider, $images) | ... | ... |