|
|
@@ -856,6 +856,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
|
|
|
frameElement.removeAttribute("src");
|
|
|
frameElement.removeAttribute("srcdoc");
|
|
|
}
|
|
|
+ Array.from(frameElement.childNodes, node => node.remove());
|
|
|
const frameWindowId = frameElement.getAttribute(util.WIN_ID_ATTRIBUTE_NAME);
|
|
|
if (frameWindowId) {
|
|
|
const frameData = this.options.frames.find(frame => frame.windowId == frameWindowId);
|