From 0396af849a056b8eda0f8c113b6c62fe1ac77e18 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Thu, 29 Nov 2018 10:49:11 +0100 Subject: [PATCH] Undo #3490 - error in popup-cancelling logic (#3586) --- core/modules/utils/dom/popup.js | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/core/modules/utils/dom/popup.js b/core/modules/utils/dom/popup.js index 4454b9a3d..7411a6d8b 100644 --- a/core/modules/utils/dom/popup.js +++ b/core/modules/utils/dom/popup.js @@ -110,31 +110,10 @@ Popup.prototype.popupInfo = function(domNode) { Display a popup by adding it to the stack */ Popup.prototype.show = function(options) { - var cancelLevel; - // Cancel any popups who aren't an ancestor of the current node - for(var t=0; t