Merge pull request #239 from darthmaim/bugfix_ie10_pointertype

Don't handle mouse pointer events as touch in IE10.
This commit is contained in:
Hyunje Alex Jun 2014-10-30 18:21:43 +00:00
commit 5be50316ca

View File

@ -658,7 +658,7 @@
if (event.targetTouches && event.targetTouches.length === 1) { if (event.targetTouches && event.targetTouches.length === 1) {
return true; return true;
} }
if (event.pointerType && event.pointerType !== 'mouse') { if (event.pointerType && event.pointerType !== 'mouse' && event.pointerType !== event.MSPOINTER_TYPE_MOUSE) {
return true; return true;
} }
return false; return false;