Fix getTranslatorObject()
This commit is contained in:
parent
4f4be436f6
commit
178eda0c9d
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ Zotero.Translate.Sandbox = {
|
|||
|
||||
var haveTranslatorFunction = function(translator) {
|
||||
translation.translator[0] = translator;
|
||||
if(!Zotero._loadTranslator(translator)) throw new Error("Translator could not be loaded");
|
||||
if(!translation._loadTranslator(translator)) throw new Error("Translator could not be loaded");
|
||||
|
||||
if(Zotero.isFx) {
|
||||
// do same origin check
|
||||
|
|
Loading…
Reference in a new issue