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

Fix prefs initialization issue.

This commit is contained in:
Kris Maglione
2011-08-03 20:08:43 -04:00
parent 89c05c799d
commit 904335c138

View File

@@ -31,9 +31,9 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
this.branches = memoize({ this.branches = memoize({
__proto__: this, __proto__: this,
get original() Prefs(this.ORIGINAL + this.root), get original() this.constructor(this.ORIGINAL + this.root),
get restore() Prefs(this.RESTORE + this.root), get restore() this.constructor(this.RESTORE + this.root),
get saved() Prefs(this.SAVED + this.root), get saved() this.constructor(this.SAVED + this.root),
}); });
if (!defaults) if (!defaults)