Merge pull request #432 from one-some/lock-fix

UI: Fix the thingey modal
This commit is contained in:
henk717
2023-07-30 23:18:46 +02:00
committed by GitHub

View File

@@ -6089,7 +6089,7 @@ function closePopups(userAction=false) {
for (const popupWindow of container.children) { for (const popupWindow of container.children) {
// Do not let the user close windows they shouldn't be! Sneaky devils! // Do not let the user close windows they shouldn't be! Sneaky devils!
if (userAction && popupWindow.getAttribute("allow-close") === "false") { if (userAction && popupWindow.getAttribute("allow-close") === "false" && !popupWindow.classList.contains("hidden")) {
allHidden = false; allHidden = false;
continue; continue;
} }