disabled autoscroll

This commit is contained in:
Miodec 2023-03-07 18:54:43 +01:00
parent 9f9ac13764
commit 07ab45d167

View file

@ -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();