aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMiodec <[email protected]>2023-03-07 18:54:43 +0100
committerMiodec <[email protected]>2023-03-07 18:54:43 +0100
commit07ab45d167bb5678aa6817b2b54150fa4bbf52a4 (patch)
treeaaf86ff8e8f762a8d1997c84babfc3fe664b1140
parent9f9ac13764ab648e2f1e9216c6780d78a9dd750c (diff)
downloadmonkeytype-07ab45d167bb5678aa6817b2b54150fa4bbf52a4.tar.gz
monkeytype-07ab45d167bb5678aa6817b2b54150fa4bbf52a4.zip
disabled autoscroll
-rw-r--r--frontend/src/ts/test/test-logic.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/ts/test/test-logic.ts b/frontend/src/ts/test/test-logic.ts
index 4e425ecdf..625cc059f 100644
--- a/frontend/src/ts/test/test-logic.ts
+++ b/frontend/src/ts/test/test-logic.ts
@@ -501,9 +501,9 @@ export function restart(options = {} as RestartOptions): void {
$("#restartTestButton").blur();
MemoryFunboxTimer.reset();
QuoteRatePopup.clearQuoteStats();
- if (ActivePage.get() == "test" && window.scrollY > 0) {
- window.scrollTo({ top: 0, behavior: "smooth" });
- }
+ // if (ActivePage.get() == "test" && window.scrollY > 0) {
+ // window.scrollTo({ top: 0, behavior: "smooth" });
+ // }
$("#wordsInput").val(" ");
TestUI.reset();