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

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

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