mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:48:00 +01:00
make use of our argsParser to handle commands with zero arguments
This commit is contained in:
@@ -211,7 +211,7 @@ liberator.Mappings = function () //{{{
|
||||
|
||||
liberator.commands.add([ch + "mapc[lear]"],
|
||||
"Remove all mappings" + modeDescription,
|
||||
function (args)
|
||||
function ()
|
||||
{
|
||||
for (let i = 0; i < modes.length; i++)
|
||||
liberator.mappings.removeAll(modes[i]);
|
||||
|
||||
Reference in New Issue
Block a user