diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-03-31 16:57:09 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-03-31 16:57:09 -0300 |
| commit | a96453c584f427ee23d787a1783d5c0a9d14f436 (patch) | |
| tree | 57b0ad05ee095c7c8c554b423f15798292deddf3 | |
| parent | 0fcac82300bc3bc05f76875ba3237ca1a4aab1e9 (diff) | |
client: sidebar-search: always restore column when hiding results
mirrors that column is tidied when showing results
| -rw-r--r-- | src/static/js/client/sidebar-search.js | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |