Skip to content

Commit 348d25a

Browse files
Async loading of JS fails to load chart sometimes
1 parent 5e80959 commit 348d25a

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)