mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-18 11:36:13 +08:00
fixed not being able to change language with the commandline during an infinite test
closes #4210
This commit is contained in:
parent
02d4fa050f
commit
490759f829
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ import {
|
|||
import { update as updateCustomThemesList } from "./lists/custom-themes-list";
|
||||
import { update as updateTagsCommands } from "./lists/tags";
|
||||
import * as Skeleton from "../popups/skeleton";
|
||||
import * as ManualRestart from "../test/manual-restart-tracker";
|
||||
|
||||
const wrapperId = "commandLineWrapper";
|
||||
|
||||
|
@ -292,6 +293,8 @@ function trigger(command: string): void {
|
|||
const list = CommandlineLists.current[CommandlineLists.current.length - 1];
|
||||
let sticky = false;
|
||||
|
||||
ManualRestart.set();
|
||||
|
||||
$.each(list.list, (_index, obj) => {
|
||||
if (obj.id == command) {
|
||||
if (obj.shouldFocusTestUI !== undefined) {
|
||||
|
|
Loading…
Add table
Reference in a new issue