aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/search.js')
-rw-r--r--public/javascripts/search.js2
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) {