Merge pull request #1088 from adomasven/fix/safari-connector-fix
Remove unused undeclared variable causing an error in safari
This commit is contained in:
commit
8cb1269b67
|
@ -78,7 +78,6 @@ Zotero.Translator.prototype.init = function(info) {
|
|||
var property = TRANSLATOR_REQUIRED_PROPERTIES[i];
|
||||
if(info[property] === undefined) {
|
||||
this.logError(new Error('Missing property "'+property+'" in translator metadata JSON object in ' + info.label));
|
||||
haveMetadata = false;
|
||||
break;
|
||||
} else {
|
||||
this[property] = info[property];
|
||||
|
|
Loading…
Reference in New Issue
Block a user