]> git.proxmox.com Git - mirror_novnc.git/blobdiff - app/ui.js
Fix focus problem after closing the toolbar
[mirror_novnc.git] / app / ui.js
index d118c84fc591762133be0f27208e9194b1576002..1c6248ed87c84e806909fafc5e334e15bc754ad9 100644 (file)
--- a/app/ui.js
+++ b/app/ui.js
@@ -535,6 +535,7 @@ const UI = {
         UI.closeAllPanels();
         document.getElementById('noVNC_control_bar')
             .classList.remove("noVNC_open");
+        UI.rfb.focus();
     },
 
     toggleControlbar() {