aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-10 19:52:47 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-11 11:44:14 +1000
commit6c61612564b9a30f747207c43729c3e7e8cbf0d3 (patch)
tree3f0f3b4cc35162e73542942ef30da3f1a0bf6276 /src
parent3d895370a608d4f51726b74e2560dcf5f4ec43a8 (diff)
Use prefix-search with ranking-by-length
Diffstat (limited to 'src')
-rw-r--r--src/components/SearchModal.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue
index 4ba0c1a..dbe47af 100644
--- a/src/components/SearchModal.vue
+++ b/src/components/SearchModal.vue
@@ -85,7 +85,7 @@ export default defineComponent({
let reqDelay = 0;
if (this.pendingSearchSuggReq != 0){
clearTimeout(this.pendingSearchSuggReq);
- reqDelay = 300;
+ reqDelay = 500;
}
this.pendingSearchSuggReq = setTimeout(() =>
fetch(url.toString())