1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-05-30 22:10:06 +02:00

Focus search bar on open

This commit is contained in:
Robbie Antenesse 2019-05-07 10:45:25 -06:00
parent 4cad266d52
commit 1a22fbd699

View file

@ -94,6 +94,7 @@ function setupSearchBar() {
});
openSearchModal.addEventListener('click', () => {
document.getElementById('searchModal').style.display = 'block';
searchBox.focus();
});
searchExactWords.addEventListener('change', () => {