diff --git a/code/viewer_partial.html b/code/viewer_partial.html index 96c2fda3..3517eda0 100644 --- a/code/viewer_partial.html +++ b/code/viewer_partial.html @@ -109,7 +109,10 @@ val.display = false; } - let candidates = miniSearch.search(search.value); + let candidates = miniSearch.search(search.value, { + prefix: true, + fuzzy: 0.2 + }); for (let val of candidates) { if (!groups.value.includes(val.group)) { continue;