mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
fix small playground bug
This commit is contained in:
parent
2db203ae18
commit
257b700e25
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue