commit c657a3056d11ef085539bc09885d8542a224a8b1
parent 903c3ed78e6c26c2c9538f6e98bcda6a2fe8c2f0
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 1 Apr 2013 01:14:44 -0400
Remove isFx3, isFx31, isFx35, isFx36, isFx4, and isFx5
Diffstat:
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/chrome/content/zotero/longTagFixer.js b/chrome/content/zotero/longTagFixer.js
@@ -157,7 +157,7 @@ var Zotero_Long_Tag_Fixer = new function () {
case 0:
// Get checked tags
var listbox = document.getElementById('zotero-new-tag-list');
- var len = Zotero.isFx3 ? listbox.childNodes.length : listbox.childElementCount;
+ var len = listbox.children.length;
var newTags = [];
for (var i=0; i<len; i++) {
var li = listbox.childNodes[i];
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -226,15 +226,8 @@ Components.utils.import("resource://gre/modules/Services.jsm");
this.mainThread = Components.classes["@mozilla.org/thread-manager;1"].getService().mainThread;
var appInfo = Components.classes["@mozilla.org/xre/app-info;1"].
- getService(Components.interfaces.nsIXULAppInfo),
- platformVersion = appInfo.platformVersion;
+ getService(Components.interfaces.nsIXULAppInfo);
this.isFx = true;
- this.isFx3 = false;
- this.isFx35 = false;
- this.isFx31 = false;
- this.isFx36 = false;
- this.isFx4 = true;
- this.isFx5 = true;
this.isStandalone = appInfo.ID == ZOTERO_CONFIG['GUID'];
if(this.isStandalone) {