Stop propagation and prevent default for touch events.

Fix #228.
This commit is contained in:
Hyunje Alex Jun 2014-10-21 21:14:23 +01:00
parent ee4fc96b7a
commit 991e664b18

View File

@ -573,6 +573,7 @@
}
e.stopPropagation();
e.preventDefault();
}
function touchMove(e) {
if (!inGlobalTouch && e.originalEvent.targetTouches.length === 1) {
@ -595,6 +596,7 @@
startTime = currentTime;
}
e.stopPropagation();
e.preventDefault();
}
}