mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
Previously, we cleared the preview element only when cancelling compose, which meant the compose box would be left in an invalid state, showing a preview from a no longer active draft, if switching recipients with it open. Fix this by moving the call to clear the preview state to clear_box, which is called in both the hide_box (close compose) and change recipient code paths for clearing compose after not having sent a message. Fixes #22703. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio/notification_sounds | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||