Fix breakage from r9839
This commit is contained in:
parent
e0a73db0db
commit
ff90005ed2
1 changed files with 2 additions and 2 deletions
|
@ -1389,12 +1389,12 @@ Zotero.Translate.Web.prototype.translate = function(libraryID, saveAttachments,
|
|||
}
|
||||
|
||||
/**
|
||||
* Overload _translateHaveTranslator to send an RPC call if necessary
|
||||
* Overload _translateTranslatorLoaded to send an RPC call if necessary
|
||||
*/
|
||||
Zotero.Translate.Web.prototype._translateTranslatorLoaded = function() {
|
||||
if(this.translator[0].runMode === Zotero.Translator.RUN_MODE_IN_BROWSER) {
|
||||
// begin process to run translator in browser
|
||||
Zotero.Translate.Base.prototype._translateHaveTranslator.apply(this);
|
||||
Zotero.Translate.Base.prototype._translateTranslatorLoaded.apply(this);
|
||||
} else {
|
||||
// otherwise, ferry translator load to RPC
|
||||
var me = this;
|
||||
|
|
Loading…
Reference in a new issue