no need for var twice

This commit is contained in:
Niels Lyngsø
2020-07-01 20:10:08 +02:00
parent d4898b58e0
commit f1c5e19124

View File

@@ -396,7 +396,7 @@
if (blockConfiguration === null) {
console.error("The block entry of "+udi+" is not begin initialized cause its contentTypeKey is not allowed for this PropertyEditor");
} else {
var contentScaffold = this.getScaffoldFromKey(blockConfiguration.contentTypeKey);
contentScaffold = this.getScaffoldFromKey(blockConfiguration.contentTypeKey);
if(contentScaffold === null) {
console.error("The block entry of "+udi+" is not begin initialized cause its Element Type was not loaded.");
}