diff options
author | Miodec <[email protected]> | 2023-03-09 12:38:59 +0100 |
---|---|---|
committer | Miodec <[email protected]> | 2023-03-09 12:38:59 +0100 |
commit | fdbd5b1b84337d0616ca7f8dacd112944e92fb7a (patch) | |
tree | ab04eff58a5b615ac8697b3645716f0df637535c | |
parent | 6ad52aa34749b3e3a3ccbe7f6a32cc83b64bf4ad (diff) | |
download | monkeytype-fdbd5b1b84337d0616ca7f8dacd112944e92fb7a.tar.gz monkeytype-fdbd5b1b84337d0616ca7f8dacd112944e92fb7a.zip |
removed some old code that was stopping test restarts with quick restart disabled
-rw-r--r-- | frontend/src/ts/test/test-logic.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/frontend/src/ts/test/test-logic.ts b/frontend/src/ts/test/test-logic.ts index 625cc059f..7dd6ad4a8 100644 --- a/frontend/src/ts/test/test-logic.ts +++ b/frontend/src/ts/test/test-logic.ts @@ -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( |