Skip to content

Commit

Permalink
Merge pull request nolimits4web#2983 from nealnote/master
Browse files Browse the repository at this point in the history
fix: support pointerEvents
  • Loading branch information
nolimits4web authored Feb 22, 2019
2 parents ff65753 + 2bda479 commit dac5eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Support = (function Support() {
return !!((window.navigator.maxTouchPoints > 0) || ('ontouchstart' in window) || (window.DocumentTouch && document instanceof window.DocumentTouch));
}()),

pointerEvents: !!(window.navigator.pointerEnabled || window.PointerEvent || ('maxTouchPoints' in window.navigator)),
pointerEvents: !!(window.navigator.pointerEnabled || window.PointerEvent || ('maxTouchPoints' in window.navigator && window.navigator.maxTouchPoints > 0)),
prefixedPointerEvents: !!window.navigator.msPointerEnabled,

transition: (function checkTransition() {
Expand Down

0 comments on commit dac5eb8

Please sign in to comment.