Fix error in translator tester when only one translator is whitelisted

This commit is contained in:
Dan Stillman 2016-09-02 02:43:25 -04:00
parent 88e12f617c
commit 7f5e57f606

View file

@ -106,6 +106,9 @@ Zotero_TranslatorTesters = new function() {
};
var runNextTester = function() {
if (!testers.length) {
return;
}
testersRunning++;
Zotero.debug("Testing "+testers[0].translator.label);
testers.shift().runTests(testerDoneCallback);