Fix the attempt to display the delay citation updates dialog breaking updates
Since 2b3669afd
This commit is contained in:
parent
a6fc2cb206
commit
8bff4cff42
1 changed files with 1 additions and 1 deletions
|
@ -1108,7 +1108,7 @@ Zotero.Integration.Session.prototype.updateDocument = Zotero.Promise.coroutine(f
|
||||||
this.timer = null;
|
this.timer = null;
|
||||||
Zotero.debug(`Integration: updateDocument complete in ${diff}s`)
|
Zotero.debug(`Integration: updateDocument complete in ${diff}s`)
|
||||||
// If the update takes longer than 5s suggest delaying citation updates
|
// If the update takes longer than 5s suggest delaying citation updates
|
||||||
if (diff > DELAY_CITATIONS_PROMPT_TIMEOUT && !this.data.prefs.dontAskDelayCitationUpdates && !this._session.data.prefs.delayCitationUpdates) {
|
if (diff > DELAY_CITATIONS_PROMPT_TIMEOUT && !this.data.prefs.dontAskDelayCitationUpdates && !this.data.prefs.delayCitationUpdates) {
|
||||||
yield this._doc.activate();
|
yield this._doc.activate();
|
||||||
|
|
||||||
var interfaceType = 'tab';
|
var interfaceType = 'tab';
|
||||||
|
|
Loading…
Reference in a new issue