Showing
1 changed file
with
2 additions
and
2 deletions
@@ -214,7 +214,7 @@ filter.registerCbFn(search); | @@ -214,7 +214,7 @@ filter.registerCbFn(search); | ||
214 | //3.筛选无active时点击展开筛选面板 | 214 | //3.筛选无active时点击展开筛选面板 |
215 | //4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态 | 215 | //4.筛选有active时点击隐藏筛选面板并恢复点击筛选前active项的active状态 |
216 | //5.当前active为筛选并且点击其他项时,隐藏筛选面板 | 216 | //5.当前active为筛选并且点击其他项时,隐藏筛选面板 |
217 | -$listNav.delegate('li', 'tap', function() { | 217 | +$listNav.delegate('li', 'touchstart', function() { |
218 | var $this = $(this), | 218 | var $this = $(this), |
219 | nav, | 219 | nav, |
220 | navType, | 220 | navType, |
@@ -308,7 +308,7 @@ $(window).scroll(function() { | @@ -308,7 +308,7 @@ $(window).scroll(function() { | ||
308 | //当scroll到1/4$goodsContainer高度后继续请求下一页数据 | 308 | //当scroll到1/4$goodsContainer高度后继续请求下一页数据 |
309 | if ($(window).scrollTop() + winH > | 309 | if ($(window).scrollTop() + winH > |
310 | $(document).height() - 0.25 * $goodsContainer.height()) { | 310 | $(document).height() - 0.25 * $goodsContainer.height()) { |
311 | - if ($pre != undefined) { | 311 | + if ($pre !== undefined) { |
312 | search(); | 312 | search(); |
313 | } | 313 | } |
314 | } | 314 | } |
-
Please register or login to post a comment