Fixes the refresh error after style reinstall. Closes #1500
This commit is contained in:
parent
81ab8f7b20
commit
6960b7f86e
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ Zotero.Integration.Interface.prototype.addEditBibliography = Zotero.Promise.coro
|
||||||
Zotero.Integration.Interface.prototype.refresh = async function() {
|
Zotero.Integration.Interface.prototype.refresh = async function() {
|
||||||
await this._session.init(true, false)
|
await this._session.init(true, false)
|
||||||
|
|
||||||
this._session.reload = this._session.data.prefs.delayCitationUpdates;
|
this._session.reload = this._session.reload || this._session.data.prefs.delayCitationUpdates;
|
||||||
await this._session.fields.updateSession(FORCE_CITATIONS_REGENERATE)
|
await this._session.fields.updateSession(FORCE_CITATIONS_REGENERATE)
|
||||||
await this._session.fields.updateDocument(FORCE_CITATIONS_REGENERATE, true, false);
|
await this._session.fields.updateDocument(FORCE_CITATIONS_REGENERATE, true, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue