mirror of https://github.com/zulip/zulip.git
compose: Hide sending indicator when the message failed validation.
This bug was found when the user tries to send a over character limit message, i.e It has failed the validation but it still shows the "Sending..." text.
This commit is contained in:
parent
7dc56fdcf2
commit
4cce23b564
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue