From 0c11a6b652470d0f0fda2c1af373d9d1b32386dc Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 13 Aug 2008 16:37:25 +0000 Subject: [PATCH] remove FF2 workaround and call doCommand() on sidebar menu items --- content/vimperator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/vimperator.js b/content/vimperator.js index e211c176..7a62a77d 100644 --- a/content/vimperator.js +++ b/content/vimperator.js @@ -325,7 +325,7 @@ liberator.config = { //{{{ { if (menu.childNodes[i].label == args) { - eval(menu.childNodes[i].getAttribute("oncommand")); + menu.childNodes[i].doCommand(); break; } }