Translator type comparison fix from Simon
This commit is contained in:
parent
8ca854fdea
commit
c0fc3aeaaf
|
@ -145,7 +145,7 @@ Zotero.Translators = new function() {
|
||||||
if (!metadata.translatorType) {
|
if (!metadata.translatorType) {
|
||||||
var found = false;
|
var found = false;
|
||||||
for each(var type in TRANSLATOR_TYPES) {
|
for each(var type in TRANSLATOR_TYPES) {
|
||||||
if (metadata.translatorType == type) {
|
if (metadata.translatorType & type) {
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user