From 07ece4798059673bfbe79c757e6866ef8ee17165 Mon Sep 17 00:00:00 2001 From: Akbar Rahman Date: Wed, 13 Nov 2024 12:13:40 +0000 Subject: [PATCH] fix indexsearch.js using wrong variable --- js/indexsearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/indexsearch.js b/js/indexsearch.js index 84eb2c9..60e2b08 100644 --- a/js/indexsearch.js +++ b/js/indexsearch.js @@ -6,7 +6,7 @@ const TITLE = "title" const SEARCH_TIMEOUT_MS = 100 var SEARCH_TIMEOUT_ID = -1 -const fuse = new Fuse(data, { +const fuse = new Fuse(search_data, { keys: [ 'title' ], ignoreLocation: true, threshhold: 0.4,