Fixed a few small bugs. Largely cosmetic.
Change-Id: Ifd90288720a330a34d98d83515a0f62925765926
diff --git a/client/catalog/js/autocomplete.js b/client/catalog/js/autocomplete.js
index 2cda884..ea71fa0 100644
--- a/client/catalog/js/autocomplete.js
+++ b/client/catalog/js/autocomplete.js
@@ -28,7 +28,8 @@
'top': this.parent().height()
});
- this.after(element);
+ this.attr('autocomplete', 'off')
+ .after(element);
var getSuggestions = function(current, callback){
callback(suggestions.reduce(function(prev, suggestion){
@@ -145,4 +146,4 @@
* @callback getSuggestions
* @param {string} current - The current value of the input field.
* @param {function}
- */
\ No newline at end of file
+ */