commit ff24aec739a4cd6bd1cd24a8430508afb89f8c19
parent 5108e61ea83b5817373e8b94fa609f14da1ecc0f
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 23 Feb 2009 08:03:16 +0000
Apply r3954 to trunk
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -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