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