Close the search box when done searching
diff --git a/js/autocomplete.js b/js/autocomplete.js
index 116320c..19c2b0f 100644
--- a/js/autocomplete.js
+++ b/js/autocomplete.js
@@ -41,6 +41,10 @@
{ x: obj[n].x, y: obj[n].y, ratio: 0.5 },
{ duration: s.settings('animationsTime') || 300 }
);
+
+ // Close the search box
+ var searchBox = document.getElementById('searchBox');
+ searchBox.style.display = "none";
/*close the list of autocompleted values,
(or any other open lists of autocompleted values:*/
@@ -105,4 +109,4 @@
document.addEventListener("click", function (e) {
closeAllLists(e.target);
});
-}
\ No newline at end of file
+}