Privacy Mode: Don't close popups right after loading

This commit is contained in:
somebody
2022-12-22 22:43:05 -06:00
parent 092c31b0eb
commit a77fbf7fb7

View File

@@ -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 = "";
}
}