Skip to content

Commit ae50a78

Browse files
save file
1 parent 9acd0cc commit ae50a78

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

utils/editors/js-console/js-console.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@
354354

355355
publish.query();
356356
editor.focus();
357+
358+
query();
357359

358360
}//initdom
359361

@@ -368,6 +370,17 @@
368370
}//focus
369371

370372

373+
function query(){
374+
375+
var url = new URL(window.location);
376+
var params = url.searchParams;
377+
378+
mode.iframe.checked = params.has('iframe');
379+
mode.async.checked = params.has('async');
380+
381+
}//query
382+
383+
371384
//:
372385

373386

0 commit comments

Comments
 (0)