Commit 5aff86d06d03d874bf1521d72a1d71fa3a450b69

Authored by Administrator
1 parent 6c66c02e

big commti

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/widgets/views/slider.php
@@ -36,7 +36,7 @@ FlipclockAsset::register($this); @@ -36,7 +36,7 @@ FlipclockAsset::register($this);
36 }, 36 },
37 }); 37 });
38 38
39 - clock.setTime(".strtotime($model->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,['position'=>View::POS_END]) ?> 42 $this->registerJs($js,['position'=>View::POS_END]) ?>