diff options
author | BuildTools <Noah Loomans> | 2016-12-08 22:45:52 +0100 |
---|---|---|
committer | BuildTools <Noah Loomans> | 2016-12-08 22:45:52 +0100 |
commit | 1260c2788c56f8add0cad9ba758573e25b18b378 (patch) | |
tree | fca4bfe29901eb66f561084c23aab61d0b5d194a /public/javascripts/search.js | |
parent | 5c7fed6eda250d91d4babd14da73166425fab85b (diff) |
hide autocomplete on submit
Diffstat (limited to 'public/javascripts/search.js')
-rw-r--r-- | public/javascripts/search.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/javascripts/search.js b/public/javascripts/search.js index 673afea..d98c4fb 100644 --- a/public/javascripts/search.js +++ b/public/javascripts/search.js @@ -17,6 +17,8 @@ self.submit = function () { const selectedItem = autocomplete.getSelectedItem() console.log(selectedItem) iframe.viewItem(0, selectedItem) + + autocomplete.hide() } self._handleSubmit = function (event) { |