mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-02-17 02:40:46 +01:00
Fix focus problem after closing the toolbar
Closing the toolbar would make the focus remain on the toolbar and not in the session. The only way to switch focus was to click in the session. This commit will automatically switch back focus to the session after closing the toolbar.
This commit is contained in:
parent
64dfb8d1d6
commit
95af51e28d
@ -602,6 +602,7 @@ const UI = {
|
||||
UI.closeAllPanels();
|
||||
document.getElementById('noVNC_control_bar')
|
||||
.classList.remove("noVNC_open");
|
||||
UI.rfb.focus();
|
||||
},
|
||||
|
||||
toggleControlbar() {
|
||||
|
Loading…
Reference in New Issue
Block a user