mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 20:52:26 +01:00
don't log an error when passing the legal CURRENT_TAB value to followLink()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user