Get instant apply status correctly
This commit is contained in:
parent
2186ecbaf0
commit
9c26c3c9d2
@ -140,7 +140,9 @@ if (typeof window == 'undefined' ||
|
||||
}
|
||||
var instantApply = false;
|
||||
try {
|
||||
instantApply = this._Prefs.getBoolPref('browser.preferences.instantApply');
|
||||
instantApply = Cc['@mozilla.org/preferences;1']
|
||||
.getService(Ci.nsIPrefBranch)
|
||||
.getBoolPref('browser.preferences.instantApply');
|
||||
}
|
||||
catch(e) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user