add autofocus to search field
This commit is contained in:
parent
a7965715d6
commit
7db204b6d4
@ -37,7 +37,7 @@
|
||||
});
|
||||
|
||||
$('#pagefind-search').on('shown.bs.modal', () => {
|
||||
$('.pagefind-ui__search-input input').focus();
|
||||
$('.pagefind-ui__search-input').focus();
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
|
Loading…
x
Reference in New Issue
Block a user