fix small playground bug

This commit is contained in:
wearrrrr 2024-10-26 22:36:34 -05:00
parent 2db203ae18
commit 257b700e25

View file

@ -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);
}`,