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: Stop selecting compose box content after topic change.

Joseph Ho551c6899becc
diff --git a/static/js/compose_actions.js b/static/js/compose_actions.js
index 9f9a4bcac2c..580eb2aa2f4 100644
--- a/static/js/compose_actions.js
+++ b/static/js/compose_actions.js
@@ -521,7 +521,7 @@ export function on_topic_narrow() {
compose_validate.warn_if_topic_resolved(true);
compose_fade.set_focused_recipient("stream");
compose_fade.update_message_list();
- $("#compose-textarea").trigger("focus").trigger("select");
+ $("#compose-textarea").trigger("focus");
}
export function quote_and_reply(opts) {