aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources/html/js-src
diff options
context:
space:
mode:
authoralexbiehl <alex.biehl@gmail.com>2017-10-30 19:10:11 +0100
committeralexbiehl <alex.biehl@gmail.com>2017-10-30 19:10:39 +0100
commitb4982d87f41d9a4d3f6237bacfd819145723e35b (patch)
tree9a890a47233d9dbe998c06bbc40fd944031e67ce /haddock-api/resources/html/js-src
parent42c3cc65f6597c210732fe576479ab4ef0f1f997 (diff)
Decrease threshold for fuzzy matching
Diffstat (limited to 'haddock-api/resources/html/js-src')
-rw-r--r--haddock-api/resources/html/js-src/quick-jump.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/resources/html/js-src/quick-jump.tsx b/haddock-api/resources/html/js-src/quick-jump.tsx
index b15ac4e8..97ac14af 100644
--- a/haddock-api/resources/html/js-src/quick-jump.tsx
+++ b/haddock-api/resources/html/js-src/quick-jump.tsx
@@ -103,7 +103,7 @@ class QuickJump extends Component<QuickJumpProps, QuickJumpState> {
loadJSON(this.props.baseUrl + "/doc-index.json", (data) => {
this.setState({
fuse: new Fuse(data, {
- threshold: 0.4,
+ threshold: 0.25,
caseSensitive: true,
includeScore: true,
tokenize: true,