diff --git a/static/index.js b/static/index.js index ab61396..c88293c 100644 --- a/static/index.js +++ b/static/index.js @@ -16,6 +16,11 @@ searchBar.autocomplete({ } }); +let bar = $('#search-bar') +bar.click((e) => { + bar[0].select(); +}); + $('#search-form').on('submit', (e) => { e.preventDefault();