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: Remove unused on_move option.

evykassirer593784b35f10
diff --git a/web/third/bootstrap-typeahead/typeahead.js b/web/third/bootstrap-typeahead/typeahead.js
index c55424ecc48..b0cb3d3ac00 100644
--- a/web/third/bootstrap-typeahead/typeahead.js
+++ b/web/third/bootstrap-typeahead/typeahead.js
@@ -169,7 +169,6 @@ const Typeahead = function (element, options) {
this.fixed = this.options.fixed ?? false;
this.automated = this.options.automated ?? (() => false);
this.trigger_selection = this.options.trigger_selection ?? (() => false);
- this.on_move = this.options.on_move;
this.on_escape = this.options.on_escape;
// return a string to show in typeahead header or false.
this.header_html = this.options.header_html ?? (() => false);
@@ -214,10 +213,6 @@ Typeahead.prototype = {
} else {
this.$element.val(val);
}
-
- if (this.on_move) {
- this.on_move();
- }
},
updater(item) {