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: Update recipient placeholder when topic input changes.

evykassirere578773ac91d
diff --git a/web/src/compose.js b/web/src/compose.js
index 34391e1653b..e36d6d5f2ac 100644
--- a/web/src/compose.js
+++ b/web/src/compose.js
@@ -786,6 +786,10 @@ export function initialize() {
compose_recipient.update_placeholder_text();
});
+ $("#stream_message_recipient_topic").on("input", () => {
+ compose_recipient.update_placeholder_text();
+ });
+
$("body").on("click", ".formatting_button", (e) => {
const $compose_click_target = $(compose_ui.get_compose_click_target(e));
const $textarea = $compose_click_target.closest("form").find("textarea");