« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/js/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/client.js')
-rw-r--r--src/static/js/client.js16
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,