mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 12:17:59 +01:00
Fixed browser.followLink so that NEW_TAB semantics are invariant of prefs.
This commit is contained in:
@@ -1123,8 +1123,10 @@ function Buffer() //{{{
|
||||
{
|
||||
case liberator.NEW_TAB:
|
||||
case liberator.NEW_BACKGROUND_TAB:
|
||||
let invertLogic = !options.getPref("browser.tabs.loadInBackground");
|
||||
let backgroundDesired = (where == liberator.NEW_BACKGROUND_TAB);
|
||||
ctrlKey = true;
|
||||
shiftKey = (where != liberator.NEW_BACKGROUND_TAB);
|
||||
shiftKey = invertLogic ? backgroundDesired : !backgroundDesired;
|
||||
break;
|
||||
case liberator.NEW_WINDOW:
|
||||
shiftKey = true;
|
||||
|
||||
Reference in New Issue
Block a user