mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-12 07:01:31 +08:00
disabled autoscroll
This commit is contained in:
parent
9f9ac13764
commit
07ab45d167
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue