disable search results hiding onclick
This commit is contained in:
parent
cef7ac7656
commit
b79ff0b725
|
@ -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";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in New Issue