1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

View File

@ -43,8 +43,8 @@ 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;