Skip to content

Commit d6a7bc7

Browse files
save file
1 parent f4ef5c5 commit d6a7bc7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@
185185

186186
hldr = $(shadow,'#hldr');
187187
iframe = $(shadow,'iframe');
188-
def_sandbox = iframe.getAttribute('sandbox');
189-
sandbox_url = iframe.src;
190188
glass = $(shadow,'#glass');
191189

192190

@@ -278,7 +276,7 @@
278276

279277
build.sandbox = function(){
280278

281-
var attr = def_sandbox;
279+
var attr = iframe_sandbox;
282280
//console.log(attr);
283281
var tokens = new Set(attr.split(/\s+/).filter(Boolean));
284282

@@ -308,7 +306,7 @@
308306

309307
iframe.setAttribute('allow',iframe_allow);
310308
debug(iframe_allow);
311-
var src = iframe.src;
309+
var src = iframe_src;
312310
if(chk.isolate.checked){
313311
src += '?isolate';
314312
}

0 commit comments

Comments
 (0)