mirror of https://github.com/zulip/zulip.git
user_topics_ui: Fix backwards setTimeout arguments.
Introduced by commit 401c8bbb21
(#27254).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
f57fb0862e
commit
c50b28610c
|
@ -46,14 +46,14 @@ export function handle_topic_updates(user_topic_event) {
|
|||
}
|
||||
}
|
||||
|
||||
setTimeout(0, () => {
|
||||
setTimeout(() => {
|
||||
// Defer updates for any background-rendered messages lists until the visible one has been updated.
|
||||
for (const list of message_lists.all_rendered_message_lists()) {
|
||||
if (list.preserve_rendered_state && message_lists.current !== list) {
|
||||
list.update_muting_and_rerender();
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 0);
|
||||
}
|
||||
|
||||
export function toggle_topic_visibility_policy(message) {
|
||||
|
|
Loading…
Reference in New Issue