Skip to content

Commit 36b0304

Browse files
save file
1 parent c5dc79e commit 36b0304

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎utils/editors/html/iframe-sandbox/v1.0/iframe-sandbox-v1.0.html‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,7 @@
214214

215215
chk.click = function(chk){
216216
//console.log(chk);
217-
/*
218-
if(chk.id=='allow-modals'){
219-
output.chk['allow-modals'].checked = chk.checked;
220-
}
221-
if(chk.id=='allow-popups'){
222-
output.chk['allow-popups'].checked = chk.checked;
223-
}
224-
*/
217+
output.chk[chk.id]?.checked = chk.checked;
225218

226219
}//click
227220

0 commit comments

Comments
 (0)