ソースを参照

Fix perfect matching provisionally (#976)

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
Bernat Borràs Civil 7 ヶ月 前
コミット
0e8f82703f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      assets/scripts/pages/search.js

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

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