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