Showing
1 changed file
with
3 additions
and
1 deletions
@@ -135,7 +135,9 @@ function initFilter(opt) { | @@ -135,7 +135,9 @@ function initFilter(opt) { | ||
135 | filterHammer.on('tap', function(e) { | 135 | filterHammer.on('tap', function(e) { |
136 | var $this = $(e.target), | 136 | var $this = $(e.target), |
137 | $cur; | 137 | $cur; |
138 | - // e.preventDefault();//防止透点 | 138 | + |
139 | + //这行不能注释,iphone下会出现穿透 | ||
140 | + e.preventDefault();//防止透点 | ||
139 | 141 | ||
140 | if ($this.closest('.filter-body').length > 0) { | 142 | if ($this.closest('.filter-body').length > 0) { |
141 | $cur = $this.closest('.sub-item'); | 143 | $cur = $this.closest('.sub-item'); |
-
Please register or login to post a comment