Fix translation breakage after 7c41618a4

This commit is contained in:
Dan Stillman 2016-02-11 15:06:17 -05:00
parent 7c41618a42
commit 4d85866ade

View file

@ -1259,10 +1259,7 @@ Zotero.Translate.Base.prototype = {
// set display options to default if they don't exist
if(!this._displayOptions) this._displayOptions = this._translatorInfo.displayOptions || {};
// prepare translation
this.incrementAsyncProcesses("Zotero.Translate#prepareTranslation()");
yield this._prepareTranslation();
this.decrementAsyncProcesses("Zotero.Translate#prepareTranslation()");
Zotero.debug("Translate: Beginning translation with "+this.translator[0].label);