Show citation snackbar also when loading up document

Before this commit, when opening a document with citations,
citations would be updated and the document refreshed but without
any information of what is happening

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I474e8cdf9c31e18027501ebfc9bd6dd2f55a58a5
This commit is contained in:
Pedro Pinto Silva 2023-01-11 10:58:49 +01:00 committed by pedropintosilva
parent f583ca47c9
commit 1c69fe0dcc

View file

@ -72,7 +72,7 @@ L.Control.Zotero = L.Control.extend({
if (this.pendingCitationUpdate || this.previousNumberOfFields !== fields.length) {
delete this.pendingCitationUpdate;
this.updateCitations();
this.updateCitations(true);
}
this.previousNumberOfFields = fields.length;
},