Skip to content

Commit 667748a

Browse files
committed
chore: fixing zeor's insanity
1 parent c8cf1ea commit 667748a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

frontend/src/ts/test/result.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -939,12 +939,6 @@ export async function update(
939939
$("main #result #saveScreenshotButton").removeClass("hidden");
940940
}
941941

942-
if (window.scrollY > 0) {
943-
$([document.documentElement, document.body])
944-
.stop()
945-
.animate({ scrollTop: 0 }, 250);
946-
}
947-
948942
TestConfig.hide();
949943

950944
void Misc.swapElements(
@@ -957,8 +951,6 @@ export async function update(
957951
TestUI.setResultCalculating(false);
958952
$("#words").empty();
959953
ChartController.result.resize();
960-
961-
window.scrollTo({ top: 0 });
962954
},
963955
async () => {
964956
Focus.set(false);

0 commit comments

Comments
 (0)