diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 3bcfc70..9079796 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -15,6 +15,7 @@ use frontend\widgets\Seo; use yii\widgets\Breadcrumbs; AppAsset::register ($this); + $this->registerJs(" $('.seo-span').replaceWith ( function (){ @@ -22,6 +23,7 @@ $this->registerJs(" } ); ", View::POS_READY); + $this->registerJs (" $('.phone .more').bind('click',function(){ $('.phone .more_block').toggle(); -- libgit2 0.21.4