Remove unused undeclared variable causing an error in safari

This commit is contained in:
Adomas Venčkauskas 2016-09-06 15:00:29 +03:00
parent ca833f54fc
commit 42ef98bb89

View file

@ -78,7 +78,6 @@ Zotero.Translator.prototype.init = function(info) {
var property = TRANSLATOR_REQUIRED_PROPERTIES[i]; var property = TRANSLATOR_REQUIRED_PROPERTIES[i];
if(info[property] === undefined) { if(info[property] === undefined) {
this.logError(new Error('Missing property "'+property+'" in translator metadata JSON object in ' + info.label)); this.logError(new Error('Missing property "'+property+'" in translator metadata JSON object in ' + info.label));
haveMetadata = false;
break; break;
} else { } else {
this[property] = info[property]; this[property] = info[property];