From 298674d14f5734e45064efba9cb933fc4327f1e4 Mon Sep 17 00:00:00 2001 From: Austin Hyde Date: Wed, 5 Feb 2014 09:59:31 -0500 Subject: [PATCH] Only do the IE-safe event cloning in legacy IE --- src/ol/mapbrowserevent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/mapbrowserevent.js b/src/ol/mapbrowserevent.js index 796f23e772..326505f967 100644 --- a/src/ol/mapbrowserevent.js +++ b/src/ol/mapbrowserevent.js @@ -204,7 +204,7 @@ ol.MapBrowserEventHandler.prototype.emulateClick_ = function(browserEvent) { } else { // click - if (ol.LEGACY_IE_SUPPORT) { + if (ol.LEGACY_IE_SUPPORT && ol.IS_LEGACY_IE) { // In IE 7-8, referring to the original event object after the current // call stack causes "member not found" exceptions, such as in the timeout // we use here.