Commit 17fd0b92d121590413fa426654033e64b9386e12
1 parent
bc9441b0
big commti
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
frontend/views/catalog/product.php
frontend/views/event/_objects.php
... | ... | @@ -40,7 +40,7 @@ FlipclockAsset::register($this); |
40 | 40 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
41 | 41 | clock.setCountdown(true); |
42 | 42 | clock.start();"; |
43 | - $this->registerJs($js,View::POS_READY) ?> | |
43 | + $this->registerJs($js,View::POS_LOAD) ?> | |
44 | 44 | |
45 | 45 | <?php } ?> |
46 | 46 | </div> | ... | ... |
frontend/views/event/show.php
... | ... | @@ -52,7 +52,7 @@ $this->params['seo']['h1'] = $this->title; |
52 | 52 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
53 | 53 | clock.setCountdown(true); |
54 | 54 | clock.start();"; |
55 | - $this->registerJs($js,View::POS_READY) ?> | |
55 | + $this->registerJs($js,View::POS_LOAD) ?> | |
56 | 56 | |
57 | 57 | |
58 | 58 | <?php | ... | ... |
frontend/widgets/views/slider.php
... | ... | @@ -39,7 +39,7 @@ FlipclockAsset::register($this); |
39 | 39 | clock.setTime(".(strtotime($image->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 | |
45 | 45 | <?php | ... | ... |