fix formatting

This commit is contained in:
Holger Will 2019-04-30 05:17:46 +02:00
parent d9d98439b2
commit 0f07fb4479
No known key found for this signature in database
GPG Key ID: CB94F160EF40F30A
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ var RED = (function() {
}
}
$('body').append(newScript);
if( $(el).attr('type') === "module"){
newScript.type = "module"
}
if ($(el).attr('type') === "module") {
newScript.type = "module";
}
newScript.src = RED.settings.apiRootUrl+srcUrl;
hasDeferred = true;
} else {