Don't handle mouse pointer events as touch in IE10

This commit is contained in:
Konrad Liebig
2014-10-30 17:04:20 +01:00
parent 17fd46a07d
commit 94be67d998

View File

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