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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user