fix indexsearch.js using wrong variable

This commit is contained in:
Akbar Rahman 2024-11-13 12:13:40 +00:00 committed by GitHub
parent 6638c72230
commit 07ece47980
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,