Fix warning in Nightly about yield without a value
This commit is contained in:
parent
2736e7e6d1
commit
ec47a31000
1 changed files with 3 additions and 3 deletions
|
@ -1553,7 +1553,7 @@ Zotero.Integration.Fields.prototype._updateDocument = function(forceCitations, f
|
|||
} catch(e) {
|
||||
Zotero.logError(e);
|
||||
}
|
||||
yield;
|
||||
yield undefined;
|
||||
}
|
||||
|
||||
var citation = this._session.citationsByIndex[i];
|
||||
|
@ -1661,7 +1661,7 @@ Zotero.Integration.Fields.prototype._updateDocument = function(forceCitations, f
|
|||
} catch(e) {
|
||||
Zotero.logError(e);
|
||||
}
|
||||
yield;
|
||||
yield undefined;
|
||||
}
|
||||
|
||||
if(bibliographyText) {
|
||||
|
@ -2649,7 +2649,7 @@ Zotero.Integration.Session.prototype._updateCitations = function() {
|
|||
}
|
||||
this.citeprocCitationIDs[citation.citationID] = true;
|
||||
delete this.newIndices[index];
|
||||
yield;
|
||||
yield undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue