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_actions: Fix send button disabled without any error.

Aman Agrawal834e69d17c25
diff --git a/web/src/compose_actions.ts b/web/src/compose_actions.ts
index 28150f07f30..6e66ca66d0f 100644
--- a/web/src/compose_actions.ts
+++ b/web/src/compose_actions.ts
@@ -145,6 +145,8 @@ function clear_box(): void {
$(".compose_control_button_container:has(.needs-empty-compose)").removeClass(
"disabled-on-hover",
);
+ // Reset send button status.
+ $(".message-send-controls").removeClass("disabled-message-send-controls");
}
let autosize_callback_opts: ComposeActionsStartOpts;