Fix operations that remove field codes
This commit is contained in:
parent
d550ac92b4
commit
06a7b1438f
|
@ -1668,8 +1668,8 @@ Zotero.Integration.Fields.prototype._updateDocument = function(forceCitations, f
|
|||
}
|
||||
}
|
||||
var removeCodeFields = Object.keys(this._removeCodeFields).sort();
|
||||
for(var i=(this._removeCodeFields.length-1); i>=0; i--) {
|
||||
this._fields[this._removeCodeFields[i]].removeCode();
|
||||
for(var i=(removeCodeFields.length-1); i>=0; i--) {
|
||||
this._fields[removeCodeFields[i]].removeCode();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user