disable search results hiding onclick

This commit is contained in:
leah 2021-08-21 16:31:48 +01:00
parent cef7ac7656
commit b79ff0b725
1 changed files with 0 additions and 6 deletions

View File

@ -168,12 +168,6 @@ function debounce(func, wait) {
$searchResultsItems.appendChild(item);
}
}, 150));
window.addEventListener('click', function(e) {
if ($searchResults.style.display == "block" && !$searchResults.contains(e.target)) {
$searchResults.style.display = "none";
}
});
}