diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/static/js/client.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/static/js/client.js b/src/static/js/client.js index 8e731dfd..124c8414 100644 --- a/src/static/js/client.js +++ b/src/static/js/client.js @@ -4084,14 +4084,6 @@ function updateSidebarSearchStatus() { return; } - if (state.searchStage === 'preparing') { - showSidebarSearchProgress( - null, - templateContent(info.preparingString)); - - return; - } - const searchIndexDownloads = getSearchWorkerDownloadContext('search-indexes'); @@ -4108,6 +4100,14 @@ function updateSidebarSearchStatus() { return; } + if (state.searchStage === 'preparing') { + showSidebarSearchProgress( + null, + templateContent(info.preparingString)); + + return; + } + if (state.searchStage === 'searching') { showSidebarSearchProgress( null, |