Browse Source

Fix perfect matching provisionally (#976)

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
Bernat Borràs Civil 7 months ago
parent
commit
0e8f82703f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/scripts/pages/search.js

+ 1 - 1
assets/scripts/pages/search.js

@@ -7,7 +7,7 @@ window.addEventListener('DOMContentLoaded', () => {
   const fuseOptions = {
   const fuseOptions = {
     shouldSort: true,
     shouldSort: true,
     includeMatches: true,
     includeMatches: true,
-    threshold: 0.0,
+    threshold: 0.1,
     tokenize: true,
     tokenize: true,
     location: 0,
     location: 0,
     distance: 100,
     distance: 100,