Skip to content

Commit

Permalink
fix small playground bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wearrrrr committed Oct 27, 2024
1 parent 2db203a commit 257b700
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ function loadResource(url) {
})
}
function loadiframe() {
if (document.getElementById("nested-frame")) return;
let frame = document.createElement("iframe");
frame.id = "nested-frame";
frame.src = "https://google.com";
document.body.appendChild(frame);
}`,
Expand Down

0 comments on commit 257b700

Please sign in to comment.