Commit 17fd0b92d121590413fa426654033e64b9386e12

Authored by Administrator
1 parent bc9441b0

big commti

frontend/views/catalog/product.php
... ... @@ -201,7 +201,7 @@
201 201 clock.setCountdown(true);
202 202 clock.start();
203 203 ";
204   - $this->registerJs($js,View::POS_READY)
  204 + $this->registerJs($js,View::POS_LOAD)
205 205 ?>
206 206  
207 207  
... ...
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-&gt;params[&#39;seo&#39;][&#39;h1&#39;] = $this-&gt;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
... ...