Skip to content

Commit

Permalink
Fix async
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Aug 16, 2024
1 parent ac794bc commit e86c44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/demo-dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e86c44d

Please sign in to comment.