www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 77b06e695fe885c19619b84c275be5fdbc75860f
parent 66ca8611c928787720a6f4f614edf225f2f1d9bb
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  3 May 2009 09:31:14 +0000

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


Diffstat:
Mchrome/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 @@ -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"]