mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 19:32:28 +01:00
Bug 718255 yay.
This commit is contained in:
@@ -26,7 +26,8 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
this._prefContexts = [];
|
||||
|
||||
this.branch = services.pref[defaults ? "getDefaultBranch" : "getBranch"](branch || "");
|
||||
this.branch instanceof Ci.nsIPrefBranch2;
|
||||
if ("nsIPrefBranch2" in Ci)
|
||||
this.branch instanceof Ci.nsIPrefBranch2;
|
||||
|
||||
this.defaults = defaults ? this : this.constructor(branch, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user