mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 16:54:04 +08:00
removed some old code that was stopping test restarts with quick restart disabled
This commit is contained in:
parent
6ad52aa347
commit
fdbd5b1b84
1 changed files with 0 additions and 7 deletions
|
@ -381,13 +381,6 @@ export function restart(options = {} as RestartOptions): void {
|
|||
}
|
||||
if (ActivePage.get() == "test" && !TestUI.resultVisible) {
|
||||
if (!ManualRestart.get()) {
|
||||
if (
|
||||
TestWords.hasTab &&
|
||||
!options.event?.shiftKey &&
|
||||
Config.quickRestart !== "esc"
|
||||
) {
|
||||
return;
|
||||
}
|
||||
if (Config.mode !== "zen") event?.preventDefault();
|
||||
if (
|
||||
!Misc.canQuickRestart(
|
||||
|
|
Loading…
Reference in a new issue