Don't use maxTouchPoints detection in IE11+ (or edge) either, matching our msPointer detection.
This commit is contained in:
parent
83d45c2327
commit
c6d8587753
@ -17,7 +17,7 @@
|
||||
|
||||
mobile = typeof orientation !== 'undefined' || ua.indexOf('mobile') !== -1,
|
||||
msPointer = !window.PointerEvent && window.MSPointerEvent,
|
||||
pointer = (window.PointerEvent && navigator.pointerEnabled && navigator.maxTouchPoints) || msPointer,
|
||||
pointer = (window.PointerEvent && navigator.pointerEnabled) || msPointer,
|
||||
|
||||
ie3d = ie && ('transition' in doc.style),
|
||||
webkit3d = ('WebKitCSSMatrix' in window) && ('m11' in new window.WebKitCSSMatrix()) && !android23,
|
||||
|
Loading…
Reference in New Issue
Block a user