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

This commit is contained in:
Denys Konovalov 2024-01-03 11:50:43 +01:00
parent a7965715d6
commit 7db204b6d4
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9

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