Apply r3954 to trunk

This commit is contained in:
Dan Stillman 2009-02-23 08:03:16 +00:00
parent 5108e61ea8
commit ff24aec739

View File

@ -124,7 +124,8 @@ var Zotero = new function(){
getService(Components.interfaces.nsIXULAppInfo)
this.isFx2 = appInfo.platformVersion.indexOf('1.8') === 0; // TODO: remove
this.isFx3 = appInfo.platformVersion.indexOf('1.9') === 0;
this.isFx30 = appInfo.platformVersion.indexOf('1.9.0') === 0;
this.isFx30 = appInfo.platformVersion == '1.9'
|| appInfo.platformVersion.indexOf('1.9.0') === 0;
this.isFx31 = appInfo.platformVersion.indexOf('1.9.1') === 0;
// OS platform