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: Hide sending indicator when the message failed validation.

Riken Shah4cce23b5645a
diff --git a/static/js/compose.js b/static/js/compose.js
index 09139bee964..5bdc5414562 100644
--- a/static/js/compose.js
+++ b/static/js/compose.js
@@ -284,6 +284,8 @@ export function finish() {
}
if (!compose_validate.validate()) {
+ // If the message failed validation, hide the sending indicator.
+ $("#sending-indicator").hide();
return false;
}