fix: check
This commit is contained in:
parent
7e0259aafd
commit
370860ee13
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
const query = $input.value
|
||||
const results = (query.length > 1) ? getSearchResults(query) : []
|
||||
if (query === '') renderSearchResults([])
|
||||
if (results && fathom) fathom?.trackEvent(`Search query: ${query}`)
|
||||
if (results && window.fathom) fathom?.trackEvent(`Search query: ${query}`)
|
||||
renderSearchResults(results)
|
||||
})
|
||||
|
||||
|
|
Reference in a new issue