diff --git a/frontend/app.js b/frontend/app.js index d52a790..15504ab 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -1099,13 +1099,9 @@ }, loadState() { - const savedVisible = localStorage.getItem("obsigate-right-sidebar-visible"); + // Always start closed on login/refresh — user must explicitly toggle TOC const savedWidth = localStorage.getItem("obsigate-right-sidebar-width"); - if (savedVisible !== null) { - rightSidebarVisible = savedVisible === "true"; - } - if (savedWidth) { rightSidebarWidth = parseInt(savedWidth) || 280; }