aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMiodec <[email protected]>2023-03-09 12:38:59 +0100
committerMiodec <[email protected]>2023-03-09 12:38:59 +0100
commitfdbd5b1b84337d0616ca7f8dacd112944e92fb7a (patch)
treeab04eff58a5b615ac8697b3645716f0df637535c
parent6ad52aa34749b3e3a3ccbe7f6a32cc83b64bf4ad (diff)
downloadmonkeytype-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.ts7
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(