removed some old code that was stopping test restarts with quick restart disabled

This commit is contained in:
Miodec 2023-03-09 12:38:59 +01:00
parent 6ad52aa347
commit fdbd5b1b84

View file

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