优化选择器. code review by 张振
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -94,7 +94,7 @@ if ($('.goods-consults-page').length > 0) { | @@ -94,7 +94,7 @@ if ($('.goods-consults-page').length > 0) { | ||
94 | if (readmoreHammer) { | 94 | if (readmoreHammer) { |
95 | readmoreHammer.on('tap', function() { | 95 | readmoreHammer.on('tap', function() { |
96 | $('.readmore').hide(); | 96 | $('.readmore').hide(); |
97 | - $('.goods-consults .consult-item').show(); | 97 | + $('.goods-consults.customer-consults').removeClass('customer-consults'); |
98 | return false; | 98 | return false; |
99 | }); | 99 | }); |
100 | } | 100 | } |
-
Please register or login to post a comment