mirror of
https://github.com/alvierahman90/gronk.git
synced 2024-11-22 07:19:53 +00:00
fix indexsearch.js using wrong variable
This commit is contained in:
parent
6638c72230
commit
07ece47980
@ -6,7 +6,7 @@ const TITLE = "title"
|
|||||||
const SEARCH_TIMEOUT_MS = 100
|
const SEARCH_TIMEOUT_MS = 100
|
||||||
var SEARCH_TIMEOUT_ID = -1
|
var SEARCH_TIMEOUT_ID = -1
|
||||||
|
|
||||||
const fuse = new Fuse(data, {
|
const fuse = new Fuse(search_data, {
|
||||||
keys: [ 'title' ],
|
keys: [ 'title' ],
|
||||||
ignoreLocation: true,
|
ignoreLocation: true,
|
||||||
threshhold: 0.4,
|
threshhold: 0.4,
|
||||||
|
Loading…
Reference in New Issue
Block a user