summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-08-03 20:08:43 -0400
committerKris Maglione <maglione.k@gmail.com>2011-08-03 20:08:43 -0400
commit904335c13812a0141a8cdb8911b0c8bfad9f3e4d (patch)
tree5ae82a1ce80b4d812fb59dbe5c98fbf4e92b2062
parent89c05c799d0c7dbd72bf7ff78bcfbdc88b9145d8 (diff)
downloadpentadactyl-904335c13812a0141a8cdb8911b0c8bfad9f3e4d.tar.gz
Fix prefs initialization issue.
-rw-r--r--common/modules/prefs.jsm6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/modules/prefs.jsm b/common/modules/prefs.jsm
index cd247ea5..13500685 100644
--- a/common/modules/prefs.jsm
+++ b/common/modules/prefs.jsm
@@ -31,9 +31,9 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
this.branches = memoize({
__proto__: this,
- get original() Prefs(this.ORIGINAL + this.root),
- get restore() Prefs(this.RESTORE + this.root),
- get saved() Prefs(this.SAVED + this.root),
+ get original() this.constructor(this.ORIGINAL + this.root),
+ get restore() this.constructor(this.RESTORE + this.root),
+ get saved() this.constructor(this.SAVED + this.root),
});
if (!defaults)