disable auto-opening fullscreen panels on mobile

This commit is contained in:
RossAscends
2023-05-18 14:58:23 +09:00
parent b32887a5b1
commit ef0660c425

View File

@@ -423,6 +423,8 @@ function isUrlOrAPIKey(string) {
}
function OpenNavPanels() {
if (deviceInfo.device.type === 'desktop') {
//auto-open R nav if locked and previously open
if (LoadLocalBool("NavLockOn") == true && LoadLocalBool("NavOpened") == true) {
//console.log("RA -- clicking right nav to open");
@@ -440,6 +442,7 @@ function OpenNavPanels() {
console.log("RA -- clicking WI to open");
$("#WIDrawerIcon").click();
}
}
}