Merge pull request #239 from darthmaim/bugfix_ie10_pointertype
Don't handle mouse pointer events as touch in IE10.
This commit is contained in:
commit
5be50316ca
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user