Focus search input after clearing w/ reset btn

See #291
main
Ben Busby 2021-04-22 10:02:15 -04:00
parent 01fe0c02a5
commit 5b963b441c
No known key found for this signature in database
GPG Key ID: 3B08611DF6E62ED2
1 changed files with 1 additions and 0 deletions

View File

@ -64,5 +64,6 @@ document.addEventListener("DOMContentLoaded", function() {
resetBtn.addEventListener("click", event => {
event.preventDefault();
search.value = "";
search.focus();
});
});