Don't use maxTouchPoints detection in IE11+ (or edge) either, matching our msPointer detection.

This commit is contained in:
danzel 2015-09-14 13:18:43 +12:00
parent 83d45c2327
commit c6d8587753

View File

@ -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,