mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:17:59 +01:00
access 'newtab' with the square bracket notation rather than dot notation
This commit is contained in:
@@ -298,8 +298,8 @@ liberator.Options = function () //{{{
|
||||
if (special) // open firefox settings gui dialog
|
||||
{
|
||||
liberator.open("about:config",
|
||||
(liberator.options.newtab &&
|
||||
(liberator.options.newtab == "all" || liberator.options.newtab.split(",").indexOf("prefs") != -1)) ?
|
||||
(liberator.options["newtab"] &&
|
||||
(liberator.options["newtab"] == "all" || liberator.options["newtab"].split(",").indexOf("prefs") != -1)) ?
|
||||
liberator.NEW_TAB : liberator.CURRENT_TAB);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user