1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-28 12:03:32 +01:00

Fix: args is redefined and it makes the args undefined.

This commit is contained in:
anekos
2008-12-04 12:39:36 +09:00
parent 35f807a046
commit 1429ff1a78

View File

@@ -257,7 +257,7 @@ const liberator = (function () //{{{
"Execute the specified menu item from the command line", "Execute the specified menu item from the command line",
function (args) function (args)
{ {
let args = args.string; args = args.string;
let items = getMenuItems(); let items = getMenuItems();
if (!items.some(function (i) i.fullMenuPath == args)) if (!items.some(function (i) i.fullMenuPath == args))