浏览代码

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,