Skip to content

Commit

Permalink
Revert "fixes of the issue window.p5._report is not defined"
Browse files Browse the repository at this point in the history
  • Loading branch information
raclim authored Oct 31, 2023
1 parent a6e1462 commit cdc2676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/modules/Preview/EmbedFrame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function injectLocalFiles(files, htmlFile, options) {
'PREVIEW_SCRIPTS_URL'
)}`;
previewScripts.setAttribute('crossorigin', '');
sketchDoc.body.appendChild(previewScripts);
sketchDoc.head.appendChild(previewScripts);

const sketchDocString = `<!DOCTYPE HTML>\n${sketchDoc.documentElement.outerHTML}`;
scriptOffs = getAllScriptOffsets(sketchDocString);
Expand Down

0 comments on commit cdc2676

Please sign in to comment.