diff options
Diffstat (limited to 'src/static/js')
-rw-r--r-- | src/static/js/client.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/static/js/client.js b/src/static/js/client.js index 7f5990b9..e8de0472 100644 --- a/src/static/js/client.js +++ b/src/static/js/client.js @@ -3836,12 +3836,11 @@ function initializeSidebarSearchState() { if (session.activeQuery) { info.searchInput.value = session.activeQuery; - } - - if (session.repeatQueryOnReload) { - activateSidebarSearch(session.activeQuery); - } else if (session.activeQueryResults) { - showSidebarSearchResults(JSON.parse(session.activeQueryResults)); + if (session.repeatQueryOnReload) { + activateSidebarSearch(session.activeQuery); + } else if (session.activeQueryResults) { + showSidebarSearchResults(JSON.parse(session.activeQueryResults)); + } } } |