mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-06-09 18:56:36 +02:00
Focus search bar on open
This commit is contained in:
parent
4cad266d52
commit
1a22fbd699
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue