Only do the IE-safe event cloning in legacy IE
This commit is contained in:
1 parent
27f45d73ba
commit
298674d14f
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user