Add extern for Navigator.prototype.pointerEnabled

This commit is contained in:
Frederic Junod
2014-03-10 10:05:35 +01:00
committed by tsauerwein
parent 51d7cb2820
commit cbb875e504
2 changed files with 10 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ ol.BrowserFeature.HAS_TOUCH = ol.ASSUME_TOUCH ||
* @todo stability experimental
*/
ol.BrowserFeature.HAS_POINTER =
!!(goog.global.navigator['pointerEnabled']);
!!(goog.global.navigator.pointerEnabled);
/**