1
0
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:
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);
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"],