Skip to content

Commit

Permalink
fix playground
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed May 23, 2024
1 parent 8f5cc40 commit 8975b38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1024,13 +1024,13 @@ <h1>Gaiman Programming Language and Text Advanture Game Engine</h1>
set(OUTPUT_FILE, state.output_full);
}

function update_html(init) {
async function update_html(init) {
build_html();
if (!init) {
set(CSS_FILE, state.css);
set(USER_HTML, state.user_html);
await set(CSS_FILE, state.css);
await set(USER_HTML, state.user_html);
}
set(HTML_FILE, state.html);
await set(HTML_FILE, state.html);
frame.src = `./__idb__/${HTML_FILE}`;
}

Expand Down

0 comments on commit 8975b38

Please sign in to comment.