1
0
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:
Conrad Irwin
2009-09-07 22:19:46 +01:00
parent a11ef35509
commit c116fcc76d

View File

@@ -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"],