From 9642fd4b78b0313bb4946583c771059c82605c98 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 4 Feb 2022 12:56:09 +0100 Subject: fixed single list command line not working through the mobile commandline button closes #2171 --- src/js/commandline.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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(); }); -- cgit v1.2.3