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