Skip to content

Commit 015333a

Browse files
committed
修复demo
1 parent 8b20e1d commit 015333a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

touch.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494

9595

9696
var bodyTouch = util.toucher($('#toucher')[0]);
97-
bodyTouch.preventDefault = true;
9897

9998
bodyTouch.on('singleTap',function(e){
10099
$('.console3').append('singleTap'+I()+'<br/>');
@@ -134,6 +133,7 @@
134133
'top':e.moveY,
135134
'left':e.moveX
136135
});
136+
return false;
137137
}).on('swipeEnd','.checkA',function(e){
138138
$('.console1').append('swipeEnd<br/>');
139139
console.log(this,e);
@@ -169,4 +169,4 @@
169169
});
170170
</script>
171171
</body>
172-
</html>
172+
</html>

0 commit comments

Comments
 (0)