server_events_dispatch: Remove body fade out on changing theme.

This causes the app to scroll to top and causes slow paint.
This commit is contained in:
Aman Agrawal
2023-05-26 14:14:52 +00:00
committed by Tim Abbott
parent 03a0a7abc6
commit a55c1ab2da
2 changed files with 0 additions and 9 deletions

View File

@@ -874,13 +874,6 @@ run_test("user_settings", ({override}) => {
assert_same(user_settings.dense_mode, true);
assert_same(toggled, ["less_dense_mode", "more_dense_mode"]);
$("body").fadeOut = (secs) => {
assert_same(secs, 300);
};
$("body").fadeIn = (secs) => {
assert_same(secs, 300);
};
override(realm_logo, "render", noop);
{