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,7 +40,7 @@ FlipclockAsset::register($this); | ||
40 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); | 40 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
41 | clock.setCountdown(true); | 41 | clock.setCountdown(true); |
42 | clock.start();"; | 42 | clock.start();"; |
43 | - $this->registerJs($js,View::POS_READY) ?> | 43 | + $this->registerJs($js,View::POS_LOAD) ?> |
44 | 44 | ||
45 | <?php } ?> | 45 | <?php } ?> |
46 | </div> | 46 | </div> |
frontend/views/event/show.php
@@ -52,7 +52,7 @@ $this->params['seo']['h1'] = $this->title; | @@ -52,7 +52,7 @@ $this->params['seo']['h1'] = $this->title; | ||
52 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); | 52 | clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
53 | clock.setCountdown(true); | 53 | clock.setCountdown(true); |
54 | clock.start();"; | 54 | clock.start();"; |
55 | - $this->registerJs($js,View::POS_READY) ?> | 55 | + $this->registerJs($js,View::POS_LOAD) ?> |
56 | 56 | ||
57 | 57 | ||
58 | <?php | 58 | <?php |
frontend/widgets/views/slider.php
@@ -39,7 +39,7 @@ FlipclockAsset::register($this); | @@ -39,7 +39,7 @@ FlipclockAsset::register($this); | ||
39 | clock.setTime(".(strtotime($image->end_at) - strtotime(date('Y-m-d H:i:s')))."); | 39 | clock.setTime(".(strtotime($image->end_at) - strtotime(date('Y-m-d H:i:s')))."); |
40 | clock.setCountdown(true); | 40 | clock.setCountdown(true); |
41 | clock.start();"; | 41 | clock.start();"; |
42 | - $this->registerJs($js,View::POS_READY) ?> | 42 | + $this->registerJs($js,View::POS_LOAD) ?> |
43 | 43 | ||
44 | 44 | ||
45 | <?php | 45 | <?php |