From a96453c584f427ee23d787a1783d5c0a9d14f436 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 31 Mar 2026 16:57:09 -0300 Subject: client: sidebar-search: always restore column when hiding results mirrors that column is tidied when showing results --- src/static/js/client/sidebar-search.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/static/js/client') diff --git a/src/static/js/client/sidebar-search.js b/src/static/js/client/sidebar-search.js index 902f6d0c..7b01cb00 100644 --- a/src/static/js/client/sidebar-search.js +++ b/src/static/js/client/sidebar-search.js @@ -587,7 +587,6 @@ export function addPageListeners() { clearSidebarSearch(); clearSidebarFilter(); possiblyHideSearchSidebarColumn(); - restoreSidebarSearchColumn(); }); forEachFilter((type, filterLink) => { @@ -1387,6 +1386,8 @@ function hideSidebarSearchResults() { cssProp(info.endSearchRule, 'display', 'none'); cssProp(info.endSearchLine, 'display', 'none'); + + restoreSidebarSearchColumn(); } function focusFirstSidebarSearchResult() { -- cgit 1.3.0-6-gf8a5