Commit 5aff86d06d03d874bf1521d72a1d71fa3a450b69
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 | 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 | 40 | clock.setCountdown(true); |
41 | 41 | clock.start();"; |
42 | 42 | $this->registerJs($js,['position'=>View::POS_END]) ?> | ... | ... |