mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 15:57:58 +01:00
Add more helpful information to safeSetPref messages.
This commit is contained in:
@@ -173,7 +173,7 @@ function Tabs() //{{{
|
||||
setter: function (value)
|
||||
{
|
||||
let [open, restriction] = [1, 0];
|
||||
for (let [, opt] in Iterator(value.split(",")))
|
||||
for (let [, opt] in Iterator(this.parseValues(value)))
|
||||
{
|
||||
if (opt == "tab")
|
||||
open = 3;
|
||||
@@ -183,8 +183,8 @@ function Tabs() //{{{
|
||||
restriction = 2;
|
||||
}
|
||||
|
||||
options.safeSetPref("browser.link.open_newwindow", open);
|
||||
options.safeSetPref("browser.link.open_newwindow.restriction", restriction);
|
||||
options.safeSetPref("browser.link.open_newwindow", open, "See 'popups' option.");
|
||||
options.safeSetPref("browser.link.open_newwindow.restriction", restriction, "See 'popups' option.");
|
||||
return value;
|
||||
},
|
||||
completer: function (context) [
|
||||
|
||||
Reference in New Issue
Block a user