mirror of https://github.com/zulip/zulip.git
message_edit: Remove incorrect `from_scroll` value.
Since it is important that the message being edited is visible, it is safe to ignore `from_scroll` here which is also an unlikely possibility here.
This commit is contained in:
parent
f4554613a0
commit
c16f3c5eca
|
@ -1272,7 +1272,7 @@ export function edit_last_sent_message(): void {
|
|||
return;
|
||||
}
|
||||
|
||||
message_lists.current.select_id(msg.id, {then_scroll: true, from_scroll: true});
|
||||
message_lists.current.select_id(msg.id, {then_scroll: true});
|
||||
|
||||
const $msg_row = message_lists.current.get_row(msg.id);
|
||||
if (!$msg_row) {
|
||||
|
|
Loading…
Reference in New Issue