UI: Fix the thingey

This commit is contained in:
somebody
2023-07-30 16:12:20 -05:00
parent 21d20854e4
commit 61e3ffb2ef

View File

@@ -6089,7 +6089,7 @@ function closePopups(userAction=false) {
for (const popupWindow of container.children) {
// 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;
continue;
}