Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
bootstrap_typeahead: Fix implicit use of any.
Anders Kaseorg0c11a842c10e
diff --git a/web/src/bootstrap_typeahead.ts b/web/src/bootstrap_typeahead.tsindex 67d8773cf8a..ccbdbdb76ba 100644--- a/web/src/bootstrap_typeahead.ts+++ b/web/src/bootstrap_typeahead.ts@@ -580,7 +580,7 @@ export class Typeahead<ItemType extends string | object> {this.select(e);- if (e.currentTarget.id === "stream_message_recipient_topic") {+ if (this.input_element.$element[0].id === "stream_message_recipient_topic") {assert(this.input_element.type === "input");// Move the cursor to the end of the topicconst topic_length = this.input_element.$element.val()!.length;@@ -612,7 +612,7 @@ export class Typeahead<ItemType extends string | object> {// when shift (keycode 16) + tabbing to the topic fieldif (pseudo_keycode === 16 &&- e.currentTarget.id === "stream_message_recipient_topic"+ this.input_element.$element[0].id === "stream_message_recipient_topic") {return;}