Skip to content

Commit 60b64c5

Browse files
save file
1 parent d18de24 commit 60b64c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,15 @@
401401
iframe = document.createElement('iframe');
402402
obj.iframe = iframe;
403403
document.body.append(iframe)
404+
//cur.root.append(iframe);
404405

405406
iframe.style.display = 'none';
406-
iframe.sandbox = 'allow-scripts allow-same-origin';
407+
iframe.sandbox = 'allow-scripts allow-same-origin';
407408

408409
var blob = new Blob([html],{type:'text/html'});
409410
var url = window.URL.createObjectURL(blob);
410411
iframe.onload = onload;
411412
iframe.srcdoc = '';
412-
//cur.root.append(iframe);
413413

414414
return promise;
415415

0 commit comments

Comments
 (0)