mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Before calling `on_enter_send`, we checked if the `compose-send-button` is disabled, but never actually set it to disabled, rather we updated its container (.message-send-controls) with that state. This commit fixes that by correctly checking the button's container for the class .disabled-message-send-controls which is set to indicate that the user cannot send messages at the moment. Fixes #30620