mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
compose: Auto-close unchanged auto-opened drafts on narrow change.
Fixes #30104.
This commit is contained in:
@@ -89,6 +89,10 @@ export function initialize() {
|
||||
} else {
|
||||
$(".add-poll").parent().removeClass("disabled-on-hover");
|
||||
}
|
||||
|
||||
if (compose_state.get_is_content_unedited_restored_draft()) {
|
||||
compose_state.set_is_content_unedited_restored_draft(false);
|
||||
}
|
||||
});
|
||||
|
||||
$("#compose form").on("submit", (e) => {
|
||||
|
||||
Reference in New Issue
Block a user