Remove old isFxN constants
This commit is contained in:
parent
7e63f9584a
commit
e576416831
2 changed files with 1 additions and 7 deletions
|
@ -157,7 +157,7 @@ var Zotero_Long_Tag_Fixer = new function () {
|
||||||
case 0:
|
case 0:
|
||||||
// Get checked tags
|
// Get checked tags
|
||||||
var listbox = document.getElementById('zotero-new-tag-list');
|
var listbox = document.getElementById('zotero-new-tag-list');
|
||||||
var len = Zotero.isFx3 ? listbox.childNodes.length : listbox.childElementCount;
|
var len = listbox.childElementCount;
|
||||||
var newTags = [];
|
var newTags = [];
|
||||||
for (var i=0; i<len; i++) {
|
for (var i=0; i<len; i++) {
|
||||||
var li = listbox.childNodes[i];
|
var li = listbox.childNodes[i];
|
||||||
|
|
|
@ -238,12 +238,6 @@ Components.utils.import("resource://gre/modules/Services.jsm");
|
||||||
this.platformVersion = appInfo.platformVersion;
|
this.platformVersion = appInfo.platformVersion;
|
||||||
this.platformMajorVersion = parseInt(appInfo.platformVersion.match(/^[0-9]+/)[0]);
|
this.platformMajorVersion = parseInt(appInfo.platformVersion.match(/^[0-9]+/)[0]);
|
||||||
this.isFx = true;
|
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'];
|
this.isStandalone = appInfo.ID == ZOTERO_CONFIG['GUID'];
|
||||||
if(this.isStandalone) {
|
if(this.isStandalone) {
|
||||||
|
|
Loading…
Reference in a new issue