1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-07 00:45:46 +01:00

Settle stupid naming dispute.

This commit is contained in:
Kris Maglione
2010-12-07 01:13:22 -05:00
parent 175cd126b7
commit bf73483d42
5 changed files with 18 additions and 21 deletions

View File

@@ -624,8 +624,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
["prompt", "Always prompt for a lifetime"],
["session", "The current session"]
],
getter: function () (this.completer()[prefs.get(this.PREF)]
|| [prefs.get(this.PREF_DAYS)])[0],
getter: function () (this.completer()[prefs.get(this.PREF)] || [prefs.get(this.PREF_DAYS)])[0],
setter: function (value) {
let val = this.completer().map(function (i) i[0]).indexOf(value);
if (val > -1)