Merge branch 'feature/shopSort' into release/5.2
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -843,7 +843,7 @@ $listNav.on('touchend touchcancel', function(e) { | @@ -843,7 +843,7 @@ $listNav.on('touchend touchcancel', function(e) { | ||
843 | 843 | ||
844 | if ($this.hasClass('first-li-more')) { | 844 | if ($this.hasClass('first-li-more')) { |
845 | filter.hideFilter(); | 845 | filter.hideFilter(); |
846 | - $newList.removeClass('hide'); | 846 | + $newList.toggleClass('hide'); |
847 | if ($this.hasClass('default')) { | 847 | if ($this.hasClass('default')) { |
848 | $newList.find('li.default').addClass('active').siblings().removeClass('active'); | 848 | $newList.find('li.default').addClass('active').siblings().removeClass('active'); |
849 | } else if ($this.hasClass('new')) { | 849 | } else if ($this.hasClass('new')) { |
@@ -836,7 +836,7 @@ $subNav.on('touchend touchcancel', function(e) { | @@ -836,7 +836,7 @@ $subNav.on('touchend touchcancel', function(e) { | ||
836 | 836 | ||
837 | if ($this.hasClass('first-li-more')) { | 837 | if ($this.hasClass('first-li-more')) { |
838 | filter.hideFilter(); | 838 | filter.hideFilter(); |
839 | - $newList.removeClass('hide'); | 839 | + $newList.toggleClass('hide'); |
840 | if ($this.hasClass('default')) { | 840 | if ($this.hasClass('default')) { |
841 | $newList.find('li.default').addClass('active').siblings().removeClass('active'); | 841 | $newList.find('li.default').addClass('active').siblings().removeClass('active'); |
842 | } else if ($this.hasClass('new')) { | 842 | } else if ($this.hasClass('new')) { |
-
Please register or login to post a comment