Commit 7cd70cf5a18fb3b906ea5b54b29bc7084c91a518
1 parent
b352657c
login link
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -15,6 +15,7 @@ use frontend\widgets\Seo; | @@ -15,6 +15,7 @@ use frontend\widgets\Seo; | ||
15 | use yii\widgets\Breadcrumbs; | 15 | use yii\widgets\Breadcrumbs; |
16 | 16 | ||
17 | AppAsset::register ($this); | 17 | AppAsset::register ($this); |
18 | + | ||
18 | $this->registerJs(" | 19 | $this->registerJs(" |
19 | $('.seo-span').replaceWith ( | 20 | $('.seo-span').replaceWith ( |
20 | function (){ | 21 | function (){ |
@@ -22,6 +23,7 @@ $this->registerJs(" | @@ -22,6 +23,7 @@ $this->registerJs(" | ||
22 | } | 23 | } |
23 | ); | 24 | ); |
24 | ", View::POS_READY); | 25 | ", View::POS_READY); |
26 | + | ||
25 | $this->registerJs (" | 27 | $this->registerJs (" |
26 | $('.phone .more').bind('click',function(){ | 28 | $('.phone .more').bind('click',function(){ |
27 | $('.phone .more_block').toggle(); | 29 | $('.phone .more_block').toggle(); |