From 8a2a467dffccd4148bb52bb05ff49e1f52ddd715 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 17 Aug 2008 21:08:04 +0000 Subject: [PATCH] don't log an error when passing the legal CURRENT_TAB value to followLink() --- content/buffer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/buffer.js b/content/buffer.js index 9a38bdfa..03d0da69 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -437,7 +437,7 @@ liberator.Buffer = function () //{{{ liberator.mappings.add(modes, ["g"], "Print file information", - function (count) { liberator.buffer.showPageInfo(true); }); + function () { liberator.buffer.showPageInfo(true); }); /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// COMMANDS //////////////////////////////////////////////// @@ -857,6 +857,8 @@ liberator.Buffer = function () //{{{ case liberator.NEW_WINDOW: newWindow = true; break; + case liberator.CURRENT_TAB: + break; default: liberator.log("Invalid where argument for followLink()", 0); }