mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 15:04:11 +01:00
Pass defaul to getPref for sanitizetimestamp
To prevent an exception being raised when it tries to set it to a null value as default.
This commit is contained in:
@@ -115,7 +115,7 @@ function Sanitizer() //{{{
|
||||
options.setPref("privacy.sanitize.timeSpan", value);
|
||||
return value;
|
||||
},
|
||||
getter: function () options.getPref("privacy.sanitize.timeSpan"),
|
||||
getter: function () options.getPref("privacy.sanitize.timeSpan", this.defaultValue),
|
||||
completer: function (value) [
|
||||
["0", "Everything"],
|
||||
["1", "Last hour"],
|
||||
|
||||
Reference in New Issue
Block a user