mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-07 03:55:26 +00:00
Focus the iframe
This commit is contained in:
parent
0c594fdc0b
commit
adc35023a5
@ -246,6 +246,7 @@ window.onload = function() {
|
|||||||
}, "*");
|
}, "*");
|
||||||
var oldIframe = document.getElementById("old-" + iFrameId);
|
var oldIframe = document.getElementById("old-" + iFrameId);
|
||||||
if (oldIframe) { oldIframe.remove() };
|
if (oldIframe) { oldIframe.remove() };
|
||||||
|
iframe.contentWindow.document.body.focus();
|
||||||
|
|
||||||
} else if (evnt.data.action == 'retrieveFile') {
|
} else if (evnt.data.action == 'retrieveFile') {
|
||||||
const path = evnt.data.argument.path;
|
const path = evnt.data.argument.path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user