A free, self-hostable news aggregator…
fix(js): stop sidebar auto-reopening on page navigation (#8773)
polybjornc43930cfd15c
diff --git a/p/scripts/main.js b/p/scripts/main.jsindex 75e8232dd..b483c92c3 100644--- a/p/scripts/main.js+++ b/p/scripts/main.js@@ -970,7 +970,7 @@ function init_nav_menu() {const active = toggle_aside.classList.contains('active');if (state != active) toggle_aside_click(false);}- if (getComputedStyle(aside).display !== 'none') {+ if (toggle_aside.classList.contains('active')) {if (context.current_view === 'normal') aside.classList.add('visible');sync(media);}