Skip to content

Commit 02ceff3

Browse files
committed
Don't materialise svg
1 parent 676f654 commit 02ceff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/components/bootcamp/CSSExercisePage/utils/getIframePixels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function getIframePixels(
4141
decodedElem.innerHTML = decoded
4242
const svg = decodedElem.firstChild! as SVGElement
4343
svg.id = svgId
44-
document.body.appendChild(svg)
44+
// document.body.appendChild(svg)
4545

4646
const foreignObject = svg.firstChild! as SVGForeignObjectElement
4747

0 commit comments

Comments
 (0)