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:
Dan Stillman 2017-07-18 07:07:28 -04:00
parent 5268060802
commit 3715c8da1b

View file

@ -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));
}
});