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 bug where stream color didn't update on mouse selection.

N-Shar-maa003fe024690
diff --git a/static/js/ui_init.js b/static/js/ui_init.js
index 474e46bc163..a090bea34e6 100644
--- a/static/js/ui_init.js
+++ b/static/js/ui_init.js
@@ -324,7 +324,7 @@ export function initialize_kitchen_sink_stuff() {
$(this).removeClass("active");
});
- $("#stream_message_recipient_stream").on("blur", function () {
+ $("#stream_message_recipient_stream").on("change", function () {
stream_bar.decorate(this.value, $("#stream-message .message_header_stream"), true);
});