diff --git a/apps/home/static/home/js/index.js b/apps/home/static/home/js/index.js index 8fa85ed..5af3203 100644 --- a/apps/home/static/home/js/index.js +++ b/apps/home/static/home/js/index.js @@ -289,6 +289,7 @@ $(".sidebar-backdrop").on("click", () => setSidebarVisibility(false)); $(window).on('resize', () => { // Can't pass conditional directly, causes flickering effect if (getSidebarVisibility() && $(window).width() > 992) { + setSidebarPinned(false); setSidebarVisibility(false); } });