Skip to content

Commit 58d53ca

Browse files
Merge pull request #408 from contactashish13/issue-407
Async loading of JS fails to load chart sometimes
2 parents 5e80959 + 348d25a commit 58d53ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Module/Frontend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function script_loader_tag( $tag, $handle, $src ) {
8585

8686
foreach ( $scripts as $async ) {
8787
if ( $async === $handle ) {
88-
$tag = str_replace( ' src', ' async="async" defer="defer" src', $tag );
88+
$tag = str_replace( ' src', ' defer="defer" src', $tag );
8989
break;
9090
}
9191
}

0 commit comments

Comments
 (0)