We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe64cb3 commit 1a51d61Copy full SHA for 1a51d61
utils/editors/js-console/html/output-console/v3.0/output-console-v3.0.html
@@ -359,12 +359,16 @@
359
iframe = document.createElement('iframe');
360
obj.iframe = iframe;
361
362
+ iframe.onload = onload;
363
+
364
build.sandbox();
365
iframe.setAttribute('allow',sandbox_allow);
366
iframe.src = sandbox_url;
367
debug(sandbox_url);
- iframe.style.cssText = 'display:none;box-sizing:border-box';
- iframe.onload = onload;
368
+ iframe.style.cssText = 'box-sizing:border-box';
369
+ if(!chk.iframe.checked){
370
+ iframe.style.display = 'none';
371
+ }
372
373
root.append(iframe);
374
//document.body.append(iframe)
0 commit comments