mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Fix use of multiple search translators
It was stopping after the first translator, which meant that some ISBN
lookups failed if the ISBN wasn't in Library of Congress.
Regression from 6da0845f4b, which hopefully didn't have a good reason
for this
This commit is contained in:
parent
5268060802
commit
3715c8da1b
1 changed files with 1 additions and 1 deletions
|
|
@ -1276,7 +1276,7 @@ Zotero.Translate.Base.prototype = {
|
|||
if(!translators.length) {
|
||||
me.complete(false, "Could not find an appropriate translator");
|
||||
} else {
|
||||
me.setTranslator(translators[0]);
|
||||
me.setTranslator(translators);
|
||||
deferred.resolve(Zotero.Translate.Base.prototype.translate.call(me, options));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue