From a77fbf7fb79cb2ab3a65e59d93e35dd64126bf34 Mon Sep 17 00:00:00 2001 From: somebody Date: Thu, 22 Dec 2022 22:43:05 -0600 Subject: [PATCH] Privacy Mode: Don't close popups right after loading --- static/koboldai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/koboldai.js b/static/koboldai.js index 3021397b..e9d7df56 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -3171,7 +3171,7 @@ function privacy_mode(enabled) { document.getElementById('SideMenu').classList.remove("superblur"); document.getElementById('main-grid').classList.remove("superblur"); document.getElementById('rightSideMenu').classList.remove("superblur"); - closePopups(); + if (!$el("#privacy_mode").classList.contains("hidden")) closePopups(); document.getElementById('privacy_password').value = ""; } }