diff --git a/core/modules/utils/dom/popup.js b/core/modules/utils/dom/popup.js index 2b615f411..aa89d705c 100644 --- a/core/modules/utils/dom/popup.js +++ b/core/modules/utils/dom/popup.js @@ -154,11 +154,12 @@ Detect if a Popup contains an input field that has focus Returns true or false */ Popup.prototype.detectInputWithinPopup = function(node) { - var withinPopup = false; + var withinPopup = false, + currNode = node; for(var i=0; i