diff options
author | Miodec <[email protected]> | 2023-03-07 18:54:43 +0100 |
---|---|---|
committer | Miodec <[email protected]> | 2023-03-07 18:54:43 +0100 |
commit | 07ab45d167bb5678aa6817b2b54150fa4bbf52a4 (patch) | |
tree | aaf86ff8e8f762a8d1997c84babfc3fe664b1140 | |
parent | 9f9ac13764ab648e2f1e9216c6780d78a9dd750c (diff) | |
download | monkeytype-07ab45d167bb5678aa6817b2b54150fa4bbf52a4.tar.gz monkeytype-07ab45d167bb5678aa6817b2b54150fa4bbf52a4.zip |
disabled autoscroll
-rw-r--r-- | frontend/src/ts/test/test-logic.ts | 6 |
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(); |