add autofocus to search field
All checks were successful
website-main / prod-build (push) Successful in 9s
website-main / test-build (push) Successful in 4s

This commit is contained in:
Denys Konovalov 2024-01-03 11:41:46 +01:00
parent f30522fbd4
commit 191de7351a
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9

@ -36,7 +36,7 @@
}
});
$('#search').addEventListener('shown.bs.modal', () => {
$('#search').on('shown.bs.modal', () => {
$('.pagefind-ui__search-input input').focus();
});
});