Commit 2627ee46d68554ae3ab553fcc579a0e2d85f853b
1 parent
a86e99dd
Веталь
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
frontend/views/catalog/products.php
@@ -34,7 +34,8 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ | @@ -34,7 +34,8 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ | ||
34 | <?php if ($priceLimits['min'] < $priceLimits['max']) :?> | 34 | <?php if ($priceLimits['min'] < $priceLimits['max']) :?> |
35 | $(document).ready(function() { | 35 | $(document).ready(function() { |
36 | $( ".wrapper_all" ).append( $('.text_seo') ); | 36 | $( ".wrapper_all" ).append( $('.text_seo') ); |
37 | - $('.read_more_seo').click(function () { | 37 | + $('.read_more_seo').click(function (e) { |
38 | + e.preventDefault() | ||
38 | $('.text_seo').removeClass('hidden_seo') | 39 | $('.text_seo').removeClass('hidden_seo') |
39 | $(this).remove() | 40 | $(this).remove() |
40 | }) | 41 | }) |