Merge branch 'release/newSearch' of git.yoho.cn:fe/yohobuywap-node into release/newSearch
Showing
1 changed file
with
5 additions
and
1 deletions
@@ -187,12 +187,16 @@ $search.on('touchend', function() { | @@ -187,12 +187,16 @@ $search.on('touchend', function() { | ||
187 | } | 187 | } |
188 | 188 | ||
189 | $history.html(html); | 189 | $history.html(html); |
190 | + | ||
190 | if (html !== '') { | 191 | if (html !== '') { |
191 | $clearHistory.removeClass('hide'); | 192 | $clearHistory.removeClass('hide'); |
192 | $historySearch.removeClass('hide'); | 193 | $historySearch.removeClass('hide'); |
193 | } | 194 | } |
194 | 195 | ||
195 | - // window.rePosFooter(); | 196 | + window.rePosFooter(); |
197 | + } else { | ||
198 | + $historySearch.hide(); | ||
199 | + $clearHistory.hide(); | ||
196 | } | 200 | } |
197 | } | 201 | } |
198 | }()); | 202 | }()); |
-
Please register or login to post a comment