diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3e63d3fa..24bd1373 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -37,7 +37,7 @@ }); $('#pagefind-search').on('shown.bs.modal', () => { - $('.pagefind-ui__search-input input').focus(); + $('.pagefind-ui__search-input').focus(); }); }); })(jQuery);