From 77b06e695fe885c19619b84c275be5fdbc75860f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 3 May 2009 09:31:14 +0000 Subject: [PATCH] Create Zotero.isFx35 test and alias isFx31 to it until we get around to fixing the old references --- 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 516994448..4e860838c 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -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"]