Fix compatibility with latest Minefield

This commit is contained in:
Simon Kornblith 2011-04-18 23:29:12 +00:00
parent 0a3b96bd9c
commit 5951768ada

View file

@ -39,7 +39,7 @@ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
var appInfo = Components.classes["@mozilla.org/xre/app-info;1"].
getService(Components.interfaces.nsIXULAppInfo);
if(appInfo.platformVersion[0] == 2) {
if(appInfo.platformVersion[0] >= 2) {
Components.utils.import("resource://gre/modules/AddonManager.jsm");
}