Fix compatibility with latest Minefield
This commit is contained in:
parent
0a3b96bd9c
commit
5951768ada
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
|
|
||||||
var appInfo = Components.classes["@mozilla.org/xre/app-info;1"].
|
var appInfo = Components.classes["@mozilla.org/xre/app-info;1"].
|
||||||
getService(Components.interfaces.nsIXULAppInfo);
|
getService(Components.interfaces.nsIXULAppInfo);
|
||||||
if(appInfo.platformVersion[0] == 2) {
|
if(appInfo.platformVersion[0] >= 2) {
|
||||||
Components.utils.import("resource://gre/modules/AddonManager.jsm");
|
Components.utils.import("resource://gre/modules/AddonManager.jsm");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue