Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

typeahead: Don't call html with a jquery object.

evykassirer30ecf6fafdd8
diff --git a/web/third/bootstrap-typeahead/typeahead.js b/web/third/bootstrap-typeahead/typeahead.js
index 5c627da0936..d04e0e3253b 100644
--- a/web/third/bootstrap-typeahead/typeahead.js
+++ b/web/third/bootstrap-typeahead/typeahead.js
@@ -359,7 +359,7 @@ Typeahead.prototype = {
});
$items.first().addClass("active");
- this.$menu.html($items);
+ this.$menu.empty().append($items);
return this;
},