From 257b700e252e4053c7e3c05d03bfbd866dd5ad26 Mon Sep 17 00:00:00 2001 From: wearrrrr Date: Sat, 26 Oct 2024 22:36:34 -0500 Subject: [PATCH] fix small playground bug --- static/playground.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/playground.js b/static/playground.js index cff5697..dc94718 100644 --- a/static/playground.js +++ b/static/playground.js @@ -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); }`,