We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d72db3 commit 72f887eCopy full SHA for 72f887e
1 file changed
utils/editors/js-console/html/output-console/v3.0/output-console-v3.0.html
@@ -79,6 +79,11 @@
79
wrap
80
</span>
81
82
+ <span id=iframe-show class=radio>
83
+ <input type=checkbox checked>
84
+ iframe
85
+ </span>
86
+
87
<button id=kill>kill</button>
88
89
</div>
@@ -141,6 +146,7 @@
141
146
var chk = {};
142
147
var btn = {};
143
148
btn.console = {};
149
+ btn.iframe = {};
144
150
obj.on = {};
145
151
152
@@ -183,6 +189,8 @@
183
189
184
190
chk.wrap = $.chkbox(shadow,'#word-wrap',btn.wrap);
185
191
192
+ chk.iframe = $.chkbox(shadow,'#iframe-show',btn.iframe.show);
193
186
194
$(shadow,'#kill').onclick = btn.kill;
187
195
188
196
@@ -236,6 +244,17 @@
236
244
}//kill
237
245
238
246
247
+ btn.iframe.show = function(chk){
248
249
+ if(chk.checked){
250
+ iframe.style.display = '';
251
+ }else{
252
+ iframe.style.display = 'none';
253
+ }
254
255
+ }//show
256
257
239
258
//:
240
259
241
260
0 commit comments