Skip to content

Commit dffa85d

Browse files
authored
Remove setting the script tag to async (#1701)
By default, loading the script using the inline method makes the script async. Hence, setting the async attribute makes it fail for instances where the loader is not set to work asnc
1 parent 8e0eb8e commit dffa85d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/mgt/src/bundle/mgt-loader.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747
function addScript(src, onload) {
4848
var tag = document.createElement('script');
49-
tag.setAttribute('async', '');
5049
tag.setAttribute('src', encodeURI(src));
5150

5251
// if (onload) {

0 commit comments

Comments
 (0)