diff --git a/templates/partials/search_fuse.html b/templates/partials/search_fuse.html index 7043370..0e32538 100644 --- a/templates/partials/search_fuse.html +++ b/templates/partials/search_fuse.html @@ -79,7 +79,7 @@ }); function makeTeaser(result, searchVal) { - const TEASER_SIZE = 25; + const TEASER_SIZE = 20; let output = `
${result.item.title}`; for (const match of result.matches) { @@ -105,11 +105,11 @@ return output + "
"; } - window.addEventListener("click", function (event) { + /*window.addEventListener("click", function (event) { if (searchSetup && searchBar.getAttribute("disabled") === null && !searchContainer.contains(event.target)) { toggleSearch(); } - }, { passive: true }); + }, { passive: true });*/ document.addEventListener("keydown", function(event) { if (event.key === "/") {