mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 06:35:47 +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);
|
options.setPref("privacy.sanitize.timeSpan", value);
|
||||||
return value;
|
return value;
|
||||||
},
|
},
|
||||||
getter: function () options.getPref("privacy.sanitize.timeSpan"),
|
getter: function () options.getPref("privacy.sanitize.timeSpan", this.defaultValue),
|
||||||
completer: function (value) [
|
completer: function (value) [
|
||||||
["0", "Everything"],
|
["0", "Everything"],
|
||||||
["1", "Last hour"],
|
["1", "Last hour"],
|
||||||
|
|||||||
Reference in New Issue
Block a user