Skip to content

Commit d8995fb

Browse files
save file
1 parent ed48889 commit d8995fb

1 file changed

Lines changed: 15 additions & 18 deletions

File tree

‎utils/editors/html-editor/html/output-html/v2.0/output-html-v2.0.html‎

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
var create = {};
130130
var build = {};
131131
var run = {};
132+
obj.console = {};
132133

133134

134135
//:
@@ -157,15 +158,8 @@
157158

158159
var hdr = $(shadow,'#hdr');
159160

160-
chk.isolate = $.chkbox(hdr,'#isolate');
161-
chk.isolate.checked = window.crossOriginIsolated;
162-
163161
chk['allow-scripts'] = $.chkbox(hdr,'#allow-scripts');
164-
chk['allow-modals'] = $.chkbox(hdr,'#allow-modals');
165-
chk['allow-popups'] = $.chkbox(hdr,'#allow-popups');
166162

167-
chk['console-show'] = $.chkbox(hdr,'#console-show',btn.console.show);
168-
chk['console-echo'] = $.chkbox(hdr,'#console-echo');
169163
chk['console-persist'] = $.chkbox(hdr,'#console-persist');
170164
$(shadow,'#console-clear').onclick = btn.console.clear;
171165

@@ -210,17 +204,7 @@
210204
*/
211205

212206

213-
btn.console.show = function(chk){
214-
215-
if(chk.checked){
216-
webconsole.host.style.display = '';
217-
}else{
218-
webconsole.host.style.display = 'none';
219-
}
220-
221-
}//show
222-
223-
207+
224208
btn.console.clear = function(){
225209

226210
webconsole.clear();
@@ -231,6 +215,19 @@
231215
}//clear
232216

233217

218+
//:
219+
220+
221+
obj.console.show = function(chk){
222+
223+
if(chk.checked){
224+
webconsole.host.style.display = '';
225+
}else{
226+
webconsole.host.style.display = 'none';
227+
}
228+
229+
}//show
230+
234231

235232
obj.horiz = function(){
236233

0 commit comments

Comments
 (0)