Commit 15c8060e96aaea2f39c97f0c3e89df21c2515850

Authored by Administrator
2 parents 28a13def fb49b659

Merge branch 'master' of gitlab.artweb.com.ua:root/new_rukzachok

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
frontend/views/layouts/main.php
... ... @@ -23,7 +23,7 @@ $this->registerJs("
23 23 );
24 24 $('.seo-span').replaceWith (
25 25 function (){
26   - return'<a href=\"'+$(this).data('link')+'\" rel=\"nofollow\">'+$(this).html()+'</a>';
  26 + return'<a href=\"'+$(this).seo('src')+'\" rel=\"nofollow\">'+$(this).html()+'</a>';
27 27 }
28 28 );
29 29 ", View::POS_READY);
... ... @@ -160,7 +160,7 @@ $this-&gt;registerJs(&quot;
160 160 <ul>
161 161 <li><a href="<?= Url::to (['text/index', 'translit' => 'oplata-i-dostavka']) ?>">Оплата и
162 162 доставка</a></li>
163   - <li><span class="seo-span" data-link="<?= Url::to (['text/index', 'translit' => 'contacts']) ?>">О магазине</span></li>
  163 + <li><span class="seo-span" seo-src="<?= Url::to (['text/index', 'translit' => 'contacts']) ?>">О магазине</span></li>
164 164 <li><a href="<?= Url::to (['text/index', 'translit' => 'help']) ?>" ><span>Возврат - Обмен</span></a></li>
165 165 </ul>
166 166 <div class="both"></div>
... ...