From 6ae1fa663e41179e4453af390ffb1489326816ff Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 5 Dec 2008 02:10:17 +1100 Subject: [PATCH] use args.literalArg rather than args.string in :emenu action --- common/content/liberator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/liberator.js b/common/content/liberator.js index 4e564404..43220730 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -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();