Commit df1952f4d781b1733ba60030971743264003b624
1 parent
8834b168
big commti
Showing
6 changed files
with
7 additions
and
7 deletions
Show diff stats
common/modules/product/views/variant/_form.php
frontend/views/catalog/product.php
frontend/views/event/_objects.php
... | ... | @@ -39,7 +39,7 @@ use yii\web\View; |
39 | 39 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
40 | 40 | clock.setCountdown(true); |
41 | 41 | clock.start();"; |
42 | - $this->registerJs($js,View::POS_READY) ?> | |
42 | + $this->registerJs($js,View::POS_LOAD) ?> | |
43 | 43 | |
44 | 44 | <?php } ?> |
45 | 45 | </div> | ... | ... |
frontend/views/event/show.php
... | ... | @@ -50,7 +50,7 @@ $this->params['seo']['h1'] = $this->title; |
50 | 50 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
51 | 51 | clock.setCountdown(true); |
52 | 52 | clock.start();"; |
53 | - $this->registerJs($js,View::POS_READY) ?> | |
53 | + $this->registerJs($js,View::POS_LOAD) ?> | |
54 | 54 | |
55 | 55 | |
56 | 56 | <?php | ... | ... |
frontend/views/site/index.php
frontend/widgets/views/slider.php
... | ... | @@ -38,7 +38,7 @@ use yii\web\View; |
38 | 38 | clock.setTime(".(strtotime($image->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
39 | 39 | clock.setCountdown(true); |
40 | 40 | clock.start();"; |
41 | - $this->registerJs($js,View::POS_READY) ?> | |
41 | + $this->registerJs($js,View::POS_LOAD) ?> | |
42 | 42 | |
43 | 43 | |
44 | 44 | <?php |
... | ... | @@ -72,6 +72,6 @@ $js=" $(\"#$title\").owlCarousel({ |
72 | 72 | }) |
73 | 73 | "; |
74 | 74 | |
75 | -$this->registerJs($js,View::POS_READY); | |
75 | +$this->registerJs($js,View::POS_LOAD); | |
76 | 76 | |
77 | 77 | ?> | ... | ... |