Remove isFx3, isFx31, isFx35, isFx36, isFx4, and isFx5

This commit is contained in:
Simon Kornblith 2013-04-01 01:14:44 -04:00
parent 903c3ed78e
commit c657a3056d
2 changed files with 2 additions and 9 deletions

View file

@ -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];

View file

@ -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) {