mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 18:42:27 +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>"],
|
liberator.mappings.add(modes, ["g<C-g>"],
|
||||||
"Print file information",
|
"Print file information",
|
||||||
function (count) { liberator.buffer.showPageInfo(true); });
|
function () { liberator.buffer.showPageInfo(true); });
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////}}}
|
/////////////////////////////////////////////////////////////////////////////}}}
|
||||||
////////////////////// COMMANDS ////////////////////////////////////////////////
|
////////////////////// COMMANDS ////////////////////////////////////////////////
|
||||||
@@ -857,6 +857,8 @@ liberator.Buffer = function () //{{{
|
|||||||
case liberator.NEW_WINDOW:
|
case liberator.NEW_WINDOW:
|
||||||
newWindow = true;
|
newWindow = true;
|
||||||
break;
|
break;
|
||||||
|
case liberator.CURRENT_TAB:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
liberator.log("Invalid where argument for followLink()", 0);
|
liberator.log("Invalid where argument for followLink()", 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user