1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 16:32:27 +01:00

don't log an error when passing the legal CURRENT_TAB value to followLink()

This commit is contained in:
Doug Kearns
2008-08-17 21:08:04 +00:00
parent c45f21e25e
commit 8a2a467dff

View File

@@ -437,7 +437,7 @@ liberator.Buffer = function () //{{{
liberator.mappings.add(modes, ["g<C-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);
}