Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit 30493f1

Browse files
committed
Remove deprecated navigator.pointerEnabled
Fixes #114
1 parent b09554f commit 30493f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/platform-events.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
var dispatcher = scope.dispatcher;
1414

1515
// only activate if this platform does not have pointer events
16-
if (window.navigator.pointerEnabled === undefined) {
17-
Object.defineProperty(window.navigator, 'pointerEnabled', {value: true, enumerable: true});
16+
if (!window.PointerEvent) {
1817

1918
if (window.navigator.msPointerEnabled) {
2019
var tp = window.navigator.msMaxTouchPoints;

0 commit comments

Comments
 (0)