From 871d9253b84ce9788b97722da5d854379fa3a99c Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Fri, 22 Mar 2024 14:52:02 +0100 Subject: [PATCH] fix(playground): dispatch DOMContentLoaded event manually --- client/public/runner.html | 1 + 1 file changed, 1 insertion(+) diff --git a/client/public/runner.html b/client/public/runner.html index 99be4ec6b33c..f3cb4e839b3b 100644 --- a/client/public/runner.html +++ b/client/public/runner.html @@ -121,6 +121,7 @@ script.textContent = state.js; document.body.appendChild(script); + dispatchEvent(new Event("DOMContentLoaded")); dispatchEvent(new Event("load")); initialized = true; }