Blur search bar on suggestion select

This commit is contained in:
Michał Gdula 2023-06-11 21:35:52 +01:00
parent d26d8cb021
commit 7740623547
3 changed files with 12 additions and 8 deletions

View file

@ -56,6 +56,7 @@ function getSearch() {
event.preventDefault();
search = document.querySelector('.search > input');
search.value = user.toString();
search.blur();
}
hint.appendChild(el);
});