1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 04:15:47 +01:00

use args.literalArg rather than args.string in :emenu action

This commit is contained in:
Doug Kearns
2008-12-05 02:10:17 +11:00
parent 364d572b09
commit 6ae1fa663e

View File

@@ -257,7 +257,7 @@ const liberator = (function () //{{{
"Execute the specified menu item from the command line",
function (args)
{
args = args.string;
args = args.literalArg;
let items = getMenuItems();
if (!items.some(function (i) i.fullMenuPath == args))
@@ -266,7 +266,7 @@ const liberator = (function () //{{{
return;
}
for (let [i, item] in Iterator(items))
for (let [,item] in Iterator(items))
{
if (item.fullMenuPath == args)
item.doCommand();