aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMiodec <[email protected]>2022-02-04 12:56:09 +0100
committerMiodec <[email protected]>2022-02-04 12:56:09 +0100
commit9642fd4b78b0313bb4946583c771059c82605c98 (patch)
tree5f2db532cb571c247ad117978a90061048f16ea5 /src
parent059630c606307d8b919358a8d0259917b429d85f (diff)
downloadmonkeytype-9642fd4b78b0313bb4946583c771059c82605c98.tar.gz
monkeytype-9642fd4b78b0313bb4946583c771059c82605c98.zip
fixed single list command line not working through the mobile commandline button
closes #2171
Diffstat (limited to 'src')
-rw-r--r--src/js/commandline.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/commandline.js b/src/js/commandline.js
index 3c1b1de4a..95a268104 100644
--- a/src/js/commandline.js
+++ b/src/js/commandline.js
@@ -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();
});