« get me outta code hell

client: stoppedTyingDelay -> stoppedTypingDelay - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-31 18:58:51 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 18:58:51 -0300
commit38d74cfc74ee9c03b285f29b2bf2fc4bf5987da7 (patch)
tree54653926c190086d2e19f6d1446e0b4187317b8f
parent913677c46d8415178e41d8adc5e687061e1d1829 (diff)
client: stoppedTyingDelay -> stoppedTypingDelay
-rw-r--r--src/static/js/client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/js/client.js b/src/static/js/client.js
index 0155b4b7..5b7de614 100644
--- a/src/static/js/client.js
+++ b/src/static/js/client.js
@@ -3730,7 +3730,7 @@ const sidebarSearchInfo = initInfo('sidebarSearchInfo', {
   },
 
   settings: {
-    stoppedTyingDelay: 800,
+    stoppedTypingDelay: 800,
 
     maxActiveResultsStorage: 100000,
   },
@@ -3956,7 +3956,7 @@ function addSidebarSearchListeners() {
     state.stoppedTypingTimeout =
       setTimeout(() => {
         activateSidebarSearch(info.searchInput.value);
-      }, settings.stoppedTyingDelay);
+      }, settings.stoppedTypingDelay);
   });
 
   info.endSearchLink.addEventListener('click', domEvent => {