Fix UI bugs with autoconnect

This commit is contained in:
Deni42 2018-01-05 10:35:32 +01:00 committed by GitHub
parent bcd1e28c84
commit 9cb39f7ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1019,8 +1019,6 @@ var UI = {
UI.closeAllPanels(); UI.closeAllPanels();
UI.closeConnectPanel(); UI.closeConnectPanel();
UI.updateVisualState('connecting');
var url; var url;
url = UI.getSetting('encrypt') ? 'wss' : 'ws'; url = UI.getSetting('encrypt') ? 'wss' : 'ws';
@ -1047,6 +1045,7 @@ var UI = {
UI.rfb.scaleViewport = UI.getSetting('resize') === 'scale'; UI.rfb.scaleViewport = UI.getSetting('resize') === 'scale';
UI.rfb.resizeSession = UI.getSetting('resize') === 'remote'; UI.rfb.resizeSession = UI.getSetting('resize') === 'remote';
UI.updateVisualState('connecting');
UI.updateViewOnly(); UI.updateViewOnly();
}, },