From adc35023a5eb0de6bd82854b3d752a79bbc02955 Mon Sep 17 00:00:00 2001 From: Adrian Vollmer Date: Sat, 27 Apr 2024 19:42:36 +0200 Subject: [PATCH] Focus the iframe --- zundler/assets/zundler_main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/zundler/assets/zundler_main.js b/zundler/assets/zundler_main.js index 7a18161..4340b72 100644 --- a/zundler/assets/zundler_main.js +++ b/zundler/assets/zundler_main.js @@ -246,6 +246,7 @@ window.onload = function() { }, "*"); var oldIframe = document.getElementById("old-" + iFrameId); if (oldIframe) { oldIframe.remove() }; + iframe.contentWindow.document.body.focus(); } else if (evnt.data.action == 'retrieveFile') { const path = evnt.data.argument.path;