Fix "citation is undefined" error

This commit is contained in:
Simon Kornblith 2012-06-14 22:56:26 -04:00
parent 3e969a9c8f
commit 5859cfc61e

View file

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