fix: jump to search for operand

This commit is contained in:
Jacky Zhao 2022-11-21 23:36:27 -08:00
parent f08a76a738
commit e374e3abd4
4 changed files with 19 additions and 15 deletions

View file

@ -24,7 +24,7 @@ async function searchContents(query) {
},
body: JSON.stringify({
query: query,
limit: 8,
limit: 10,
}),
})
if (result.ok) {
@ -48,7 +48,7 @@ registerHandlers(
debounce((e) => {
let term = e.target.value
if (term !== "") {
searchContents(term).then((results) => displayResults(results))
searchContents(term).then((results) => displayResults(term, results))
}
}),
)