summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-03-10 16:28:15 +0100
committerPierre Ossman <ossman@cendio.se>2022-03-10 16:28:15 +0100
commit15a0608e041627779ba49ce9c388396f459ca6a2 (patch)
tree1cb84ebe2fa1b5bffa0adcc076d75c7f682e0801 /app
parentced6431ac576ba9c59cc2c47b6283c77aaf48d8b (diff)
downloadnovnc-15a0608e041627779ba49ce9c388396f459ca6a2.tar.gz
Make sure server verification dialog is closed
It should be closed at this point just like all other dialogs and panels.
Diffstat (limited to 'app')
-rw-r--r--app/ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ui.js b/app/ui.js
index ce9d7f9..e1c5892 100644
--- a/app/ui.js
+++ b/app/ui.js
@@ -449,6 +449,8 @@ const UI = {
// State change closes dialogs as they may not be relevant
// anymore
UI.closeAllPanels();
+ document.getElementById('noVNC_verify_server_dlg')
+ .classList.remove('noVNC_open');
document.getElementById('noVNC_credentials_dlg')
.classList.remove('noVNC_open');
},