Fix clearing bibliography when all citations have been removed from the document
This commit is contained in:
parent
c81c9478d9
commit
4e1f6f63a0
1 changed files with 2 additions and 0 deletions
|
@ -2533,6 +2533,8 @@ Zotero.Integration.Session.prototype.deleteCitation = function(index) {
|
||||||
Zotero.Integration.Session.prototype.getBibliography = function() {
|
Zotero.Integration.Session.prototype.getBibliography = function() {
|
||||||
this.updateUncitedItems();
|
this.updateUncitedItems();
|
||||||
|
|
||||||
|
if(Zotero.Utilities.isEmpty(this.citationsByItemID)) return false;
|
||||||
|
|
||||||
// generate bibliography
|
// generate bibliography
|
||||||
var bib = this.style.makeBibliography();
|
var bib = this.style.makeBibliography();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue