mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 23:20:25 +08:00
fixed single list command line not working through the mobile commandline button
closes #2171
This commit is contained in:
parent
059630c606
commit
9642fd4b78
1 changed files with 5 additions and 1 deletions
|
@ -621,6 +621,10 @@ $(document).keydown((e) => {
|
|||
});
|
||||
|
||||
$(document).on("click", "#commandLineMobileButton", () => {
|
||||
CommandlineLists.setCurrent([CommandlineLists.defaultCommands]);
|
||||
if (Config.singleListCommandLine == "on") {
|
||||
useSingleListCommandLine(false);
|
||||
} else {
|
||||
CommandlineLists.setCurrent([CommandlineLists.defaultCommands]);
|
||||
}
|
||||
show();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue