Commit eaf185aa78cc5bf8311d0545fb14d90811217e5a
1 parent
054b8e9a
Веталь
Showing
2 changed files
with
9 additions
and
6 deletions
Show diff stats
frontend/views/catalog/products.php
@@ -33,12 +33,6 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ | @@ -33,12 +33,6 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ | ||
33 | <script type="text/javascript"> | 33 | <script type="text/javascript"> |
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') ); | ||
37 | - $('.read_more_seo').click(function (e) { | ||
38 | - e.preventDefault() | ||
39 | - $('.text_seo').removeClass('hidden_seo') | ||
40 | - $(this).remove() | ||
41 | - }) | ||
42 | // price rangeslider (filter price slider) | 36 | // price rangeslider (filter price slider) |
43 | $("#price_interval").ionRangeSlider({ | 37 | $("#price_interval").ionRangeSlider({ |
44 | type: "double", | 38 | type: "double", |
frontend/web/js/fix_height.js
1 | +$(document).ready(function () { | ||
2 | + $( ".wrapper_all" ).append( $('.text_seo') ); | ||
3 | + $('.read_more_seo').click(function (e) { | ||
4 | + e.preventDefault() | ||
5 | + $('.text_seo').removeClass('hidden_seo') | ||
6 | + $(this).remove() | ||
7 | + }) | ||
8 | +}) | ||
9 | + | ||
1 | window.onload = function() { | 10 | window.onload = function() { |
2 | autoHeight(); | 11 | autoHeight(); |
3 | function autoHeight() { | 12 | function autoHeight() { |