fixed single list command line not working through the mobile commandline button

closes #2171
This commit is contained in:
Miodec 2022-02-04 12:56:09 +01:00
parent 059630c606
commit 9642fd4b78

View file

@ -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();
});