Create Zotero.isFx35 test and alias isFx31 to it until we get around to fixing the old references

This commit is contained in:
Dan Stillman 2009-05-03 09:31:14 +00:00
parent 66ca8611c9
commit 77b06e695f

View File

@ -126,7 +126,8 @@ var Zotero = new function(){
this.isFx3 = appInfo.platformVersion.indexOf('1.9') === 0;
this.isFx30 = appInfo.platformVersion == '1.9'
|| appInfo.platformVersion.indexOf('1.9.0') === 0;
this.isFx31 = appInfo.platformVersion.indexOf('1.9.1') === 0;
this.isFx35 = appInfo.platformVersion.indexOf('1.9.1') === 0;
this.isFx31 = this.isFx35;
// OS platform
var win = Components.classes["@mozilla.org/appshell/appShellService;1"]