Add auto select
This commit is contained in:
parent
8c191041a8
commit
ef4043b07c
|
@ -16,6 +16,11 @@ searchBar.autocomplete({
|
|||
}
|
||||
});
|
||||
|
||||
let bar = $('#search-bar')
|
||||
bar.click((e) => {
|
||||
bar[0].select();
|
||||
});
|
||||
|
||||
$('#search-form').on('submit', (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
|
|
Loading…
Reference in New Issue