From e86c44d553432a1ce8b492a48d990ac1b4da6d52 Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:09:27 +0100 Subject: [PATCH] Fix async --- content/demo-dev.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/demo-dev.html b/content/demo-dev.html index 5baddec..85c0f8d 100644 --- a/content/demo-dev.html +++ b/content/demo-dev.html @@ -148,7 +148,7 @@ codeEl.textContent = cleanCode; iframe.src = `https://quansight.github.io/jupyterlite-demo/repl/index.html?kernel=python&toolbar=1`; iframe.style.width = '100%'; - iframe.onload = () => { + iframe.onload = async () => { if (iframe.contentDocument) { iframe.contentDocument.head.appendChild(styleSheet); const jupyter = await getJupyterApp(iframe);