From d9be42ef2e80d4441cc68574d51fb653037ccb53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 3 Jan 2021 09:50:32 +0100 Subject: [PATCH] Popup: bugfix, close button --- src/CategoryOverpass.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CategoryOverpass.js b/src/CategoryOverpass.js index 8b99f268..af7f4bea 100644 --- a/src/CategoryOverpass.js +++ b/src/CategoryOverpass.js @@ -532,6 +532,7 @@ CategoryOverpass.prototype.notifyPopupOpen = function (object, popup) { }, () => {}) // Move close button into the content, to make its position depending whether a scrollbar is visible or not + popup._closeButton.setAttribute('data-order', -1001) popup._contentNode.insertBefore(popup._closeButton, popup._contentNode.firstChild) }