Fix numbers in strings addition caused bug in providing citeproc citation data
This commit is contained in:
parent
1ca6898cb9
commit
a57d38aa29
1 changed files with 1 additions and 1 deletions
|
@ -1660,7 +1660,7 @@ Zotero.Integration.Session.prototype.getCiteprocLists = function() {
|
|||
continue;
|
||||
}
|
||||
citations.push([this.citationsByIndex[idx].citationID, this.citationsByIndex[idx].properties.noteIndex]);
|
||||
fieldToCitationIdxMapping[i] = idx;
|
||||
fieldToCitationIdxMapping[i] = parseInt(idx);
|
||||
citationToFieldIdxMapping[idx] = i++;
|
||||
}
|
||||
return [citations, fieldToCitationIdxMapping, citationToFieldIdxMapping];
|
||||
|
|
Loading…
Reference in a new issue