Skip to content

Commit

Permalink
fix(playground): dispatch DOMContentLoaded event manually (#10770)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Mar 22, 2024
1 parent e13746d commit 2515b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/public/runner.html
Expand Up @@ -121,6 +121,7 @@
script.textContent = state.js;
document.body.appendChild(script);

dispatchEvent(new Event("DOMContentLoaded"));
dispatchEvent(new Event("load"));
initialized = true;
}
Expand Down

0 comments on commit 2515b3d

Please sign in to comment.