Fix hang for invalid DOI in translation-server /search

This commit is contained in:
Dan Stillman 2018-02-13 18:26:50 -05:00
parent a937c99f09
commit 4fdfdd341b

View file

@ -202,6 +202,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = async function (urls, pr
Zotero.debug("ZU.processDocuments() now takes only 3 arguments -- update your code");
var onDone = arguments[2];
var onError = arguments[3];
noCompleteOnError = false;
}
var translate = this._translate;