From ff24aec739a4cd6bd1cd24a8430508afb89f8c19 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 23 Feb 2009 08:03:16 +0000 Subject: [PATCH] Apply r3954 to trunk --- chrome/content/zotero/xpcom/zotero.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 6848cfde3..b4676b4d2 100644 --- 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