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

Commit

Permalink
Remove deprecated navigator.pointerEnabled
Browse files Browse the repository at this point in the history
Fixes #114
  • Loading branch information
dfreedm committed Mar 18, 2014
1 parent b09554f commit 30493f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
var dispatcher = scope.dispatcher;

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

if (window.navigator.msPointerEnabled) {
var tp = window.navigator.msMaxTouchPoints;
Expand Down

0 comments on commit 30493f1

Please sign in to comment.