Fix "citation is undefined" error
This commit is contained in:
parent
3e969a9c8f
commit
5859cfc61e
1 changed files with 1 additions and 0 deletions
|
@ -2659,6 +2659,7 @@ Zotero.Integration.Session.prototype.updateCitations = function(callback) {
|
|||
index = parseInt(index);
|
||||
|
||||
var citation = this.citationsByIndex[index];
|
||||
if(!citation) continue;
|
||||
if(citation.properties.delete) {
|
||||
deleteCitations[index] = true;
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue