Skip to content

Commit 35a004e

Browse files
save file
1 parent 8a413e6 commit 35a004e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

utils/editors/js-console/html/output-console/v3.0/output-console-v3.0.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
debug('initdom');
170170
shadow = host.shadowRoot;
171171

172+
root = $(shadow,'#root');
172173

173174
chk.isolate = $.chkbox(shadow,'#isolate',btn.isolate);
174175

@@ -345,10 +346,11 @@
345346
iframe.setAttribute('allow',sandbox_allow);
346347
iframe.src = sandbox_url;
347348
debug(sandbox_url);
348-
iframe.style.cssText = 'display:none';
349+
//iframe.style.cssText = 'display:none';
349350
iframe.onload = onload;
350351

351-
document.body.append(iframe)
352+
root.append(iframe);
353+
//document.body.append(iframe)
352354
//cur.root.append(iframe);
353355

354356

0 commit comments

Comments
 (0)