mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
compose_actions: Fix incorrect condition.
This was introduced in #28767 with the intention to skip scrolling
the selected message.
So, the actual bug that the PR fixed would have been just fixed
by opening the compose box early.
(cherry picked from commit aa76919ddb)
This commit is contained in:
parent
c9eb942105
commit
9b49909d3e
@ -126,7 +126,7 @@ export function complete_starting_tasks(msg_type, opts) {
|
||||
}
|
||||
|
||||
export function maybe_scroll_up_selected_message(opts) {
|
||||
if (!opts.skip_scrolling_selected_message) {
|
||||
if (opts.skip_scrolling_selected_message) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user