Make sure server verification dialog is closed

It should be closed at this point just like all other dialogs and
panels.
This commit is contained in:
Pierre Ossman 2022-03-10 16:28:15 +01:00
parent ced6431ac5
commit 15a0608e04
1 changed files with 2 additions and 0 deletions

View File

@ -449,6 +449,8 @@ const UI = {
// State change closes dialogs as they may not be relevant // State change closes dialogs as they may not be relevant
// anymore // anymore
UI.closeAllPanels(); UI.closeAllPanels();
document.getElementById('noVNC_verify_server_dlg')
.classList.remove('noVNC_open');
document.getElementById('noVNC_credentials_dlg') document.getElementById('noVNC_credentials_dlg')
.classList.remove('noVNC_open'); .classList.remove('noVNC_open');
}, },