Focus search bar on open
This commit is contained in:
parent
4cad266d52
commit
1a22fbd699
|
@ -94,6 +94,7 @@ function setupSearchBar() {
|
||||||
});
|
});
|
||||||
openSearchModal.addEventListener('click', () => {
|
openSearchModal.addEventListener('click', () => {
|
||||||
document.getElementById('searchModal').style.display = 'block';
|
document.getElementById('searchModal').style.display = 'block';
|
||||||
|
searchBox.focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
searchExactWords.addEventListener('change', () => {
|
searchExactWords.addEventListener('change', () => {
|
||||||
|
|
Loading…
Reference in New Issue