Skip to content

Commit 8aaabbd

Browse files
save file
1 parent 5ebae06 commit 8aaabbd

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217

218218
var hdr = $(shadow,'#hdr');
219219

220-
chk['allow-scripts'] = $.chkbox(hdr,'#allow-scripts');
220+
chk['allow-scripts'] = $.chkbox(hdr,'#allow-scripts',btn['aallow-scripts']);
221221

222222
$(shadow,'#console-clear').onclick = btn.console.clear;
223223
chk['console-persist'] = $.chkbox(hdr,'#console-persist');
@@ -243,6 +243,13 @@
243243
//:
244244

245245

246+
btn['allow-scripts'] = function(chk){
247+
248+
settings.sandbox.chk['allow-scripts'].checked = chk.checked;
249+
250+
}//allow-scripts
251+
252+
246253
btn.kill = function(){
247254

248255
kill();

0 commit comments

Comments
 (0)