mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
compose: Fix the compose box not resizing when restoring drafts.
Fixes #3592.
This commit is contained in:
@@ -390,6 +390,7 @@ exports.restore_message = function () {
|
|||||||
clear_message_snapshot();
|
clear_message_snapshot();
|
||||||
compose_fade.clear_compose();
|
compose_fade.clear_compose();
|
||||||
compose.start(snapshot_copy.type, snapshot_copy);
|
compose.start(snapshot_copy.type, snapshot_copy);
|
||||||
|
exports.autosize_textarea();
|
||||||
|
|
||||||
if (snapshot_copy.content !== undefined &&
|
if (snapshot_copy.content !== undefined &&
|
||||||
util.is_all_or_everyone_mentioned(snapshot_copy.content)) {
|
util.is_all_or_everyone_mentioned(snapshot_copy.content)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user