chore: misc cleanup
This commit is contained in:
parent
cab8b34832
commit
31b69ae565
7 changed files with 32 additions and 17 deletions
|
@ -32,6 +32,7 @@ permalink: /search.html
|
|||
const query = $input.value
|
||||
const results = (query.length > 1) ? getSearchResults(query) : []
|
||||
if (query === '') renderSearchResults([])
|
||||
if (query.length > 1 && window?.umami) umami.trackEvent('Search', { query: query })
|
||||
renderSearchResults(results)
|
||||
})
|
||||
|
||||
|
|
Reference in a new issue