From acdb92aec93f387c99cac41caf3d9dce77bf68fe Mon Sep 17 00:00:00 2001 From: Nuked88 Date: Sat, 7 Sep 2024 22:39:17 +0200 Subject: [PATCH] hotfix sidebar width --- app/js/sidebar_node.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/js/sidebar_node.js b/app/js/sidebar_node.js index 8c1987d..95655df 100644 --- a/app/js/sidebar_node.js +++ b/app/js/sidebar_node.js @@ -140,6 +140,9 @@ function saveSidebarPosition(sideb) { function restoreSidebarWidth() { + if (getVar("sidebarWidth") == null) { + setVar("sidebarWidth", 200); + } let width_sidebar = "auto"; let cookieValue = getVar("sidebarWidth"); if (cookieValue) {