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;
|
var instantApply = false;
|
||||||
try {
|
try {
|
||||||
instantApply = this._Prefs.getBoolPref('browser.preferences.instantApply');
|
instantApply = Cc['@mozilla.org/preferences;1']
|
||||||
|
.getService(Ci.nsIPrefBranch)
|
||||||
|
.getBoolPref('browser.preferences.instantApply');
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user