mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +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.
This commit is contained in:
parent
da7cb0af1c
commit
aa76919ddb
@ -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