add autofocus to search field
This commit is contained in:
parent
f30522fbd4
commit
191de7351a
@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#search').addEventListener('shown.bs.modal', () => {
|
$('#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