mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
UI: Fix the thingey
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user