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.

compose: Fix topics required banner closing on enter to send.

Sayam Samala60e3d93e965
diff --git a/web/src/compose_recipient.js b/web/src/compose_recipient.js
index 45bd2809bf1..b6fdc8fcb7c 100644
--- a/web/src/compose_recipient.js
+++ b/web/src/compose_recipient.js
@@ -324,10 +324,10 @@ export function initialize() {
on_hidden_callback,
}).setup();
- // `keyup` isn't relevant for streams since it registers as a change only
+ // `input` isn't relevant for streams since it registers as a change only
// when an item in the dropdown is selected.
$("#stream_message_recipient_topic,#private_message_recipient").on(
- "keyup",
+ "input",
update_on_recipient_change,
);
// changes for the stream dropdown are handled in on_compose_select_recipient_update