Skip to content

Commit b1e890a

Browse files
save file
1 parent 1038528 commit b1e890a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,16 @@
367367

368368
iframe = document.createElement('iframe');
369369
obj.iframe = iframe;
370+
document.body.append(iframe);
371+
370372
//iframe.style.display = 'none';
371373
//iframe.sandbox = 'allow-scripts allow-same-origin';
374+
372375
var blob = new Blob([html],{type:'text/html'});
373376
var url = window.URL.createObjectURL(blob);
374-
iframe.src = url;
375377
iframe.onload = onload;
376-
cur.root.append(iframe);
378+
iframe.src = url;
379+
//cur.root.append(iframe);
377380

378381
return promise;
379382

0 commit comments

Comments
 (0)