diff options
author | Alex Tanskanen <aleta@cendio.com> | 2020-03-12 13:17:51 +0100 |
---|---|---|
committer | Alex Tanskanen <aleta@cendio.com> | 2020-03-12 13:17:51 +0100 |
commit | a040c402ed64fbbee67e69dc4787e6ea54a8a88c (patch) | |
tree | 47f64214cc1dcd615e19c0a5803126d5b881c3e8 | |
parent | c4633ab33377f690c6f5efcee7ede858a6c197db (diff) | |
download | novnc-a040c402ed64fbbee67e69dc4787e6ea54a8a88c.tar.gz |
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.
-rw-r--r-- | app/ui.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -535,6 +535,7 @@ const UI = { UI.closeAllPanels(); document.getElementById('noVNC_control_bar') .classList.remove("noVNC_open"); + UI.rfb.focus(); }, toggleControlbar() { |