From 5cc1f2b31363a9e956438fdc8f8cef94e608ec3f Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 3 Jan 2016 18:05:08 +0000 Subject: [PATCH] Fix problem with search popup disappearing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This one took quite a lot of tracking down… Fixes #2172 --- core/modules/utils/dom/popup.js | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/core/modules/utils/dom/popup.js b/core/modules/utils/dom/popup.js index 25f14e612..5096d13bb 100644 --- a/core/modules/utils/dom/popup.js +++ b/core/modules/utils/dom/popup.js @@ -31,12 +31,7 @@ Trigger a popup open or closed. Parameters are in a hashmap: */ Popup.prototype.triggerPopup = function(options) { // Check if this popup is already active - var index = -1; - for(var t=0; t