From 17fd0b92d121590413fa426654033e64b9386e12 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Wed, 26 Oct 2016 23:02:44 +0300 Subject: [PATCH] big commti --- frontend/views/catalog/product.php | 2 +- frontend/views/event/_objects.php | 2 +- frontend/views/event/show.php | 2 +- frontend/widgets/views/slider.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index cfceee4..2b6ccd4 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -201,7 +201,7 @@ clock.setCountdown(true); clock.start(); "; - $this->registerJs($js,View::POS_READY) + $this->registerJs($js,View::POS_LOAD) ?> diff --git a/frontend/views/event/_objects.php b/frontend/views/event/_objects.php index 84ad4d3..3f09c4d 100755 --- a/frontend/views/event/_objects.php +++ b/frontend/views/event/_objects.php @@ -40,7 +40,7 @@ FlipclockAsset::register($this); clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); clock.setCountdown(true); clock.start();"; - $this->registerJs($js,View::POS_READY) ?> + $this->registerJs($js,View::POS_LOAD) ?> diff --git a/frontend/views/event/show.php b/frontend/views/event/show.php index 2d77191..5dd2f7a 100755 --- a/frontend/views/event/show.php +++ b/frontend/views/event/show.php @@ -52,7 +52,7 @@ $this->params['seo']['h1'] = $this->title; clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); clock.setCountdown(true); clock.start();"; - $this->registerJs($js,View::POS_READY) ?> + $this->registerJs($js,View::POS_LOAD) ?> end_at) - strtotime(date('Y-m-d H:i:s')))."); clock.setCountdown(true); clock.start();"; - $this->registerJs($js,View::POS_READY) ?> + $this->registerJs($js,View::POS_LOAD) ?>