commit e576416831d4a2016d11e20fa85ed30239d45beb parent 7e63f9584a1ca71bef5192d5be2b2bb642871177 Author: Simon Kornblith <simon@simonster.com> Date: Thu, 19 Jun 2014 16:36:37 -0400 Remove old isFxN constants Diffstat:
| M | chrome/content/zotero/longTagFixer.js | | | 2 | +- |
| M | chrome/content/zotero/xpcom/zotero.js | | | 6 | ------ |
2 files changed, 1 insertion(+), 7 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.childElementCount; 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 @@ -238,12 +238,6 @@ Components.utils.import("resource://gre/modules/Services.jsm"); this.platformVersion = appInfo.platformVersion; this.platformMajorVersion = parseInt(appInfo.platformVersion.match(/^[0-9]+/)[0]); 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) {