Update ui.js

This commit is contained in:
Deni42 2018-01-04 14:53:01 +01:00 committed by GitHub
parent 1f9d0cb12f
commit bcd1e28c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1021,8 +1021,6 @@ var UI = {
UI.updateVisualState('connecting');
UI.updateViewOnly();
var url;
url = UI.getSetting('encrypt') ? 'wss' : 'ws';
@ -1048,6 +1046,8 @@ var UI = {
UI.rfb.clipViewport = UI.getSetting('view_clip');
UI.rfb.scaleViewport = UI.getSetting('resize') === 'scale';
UI.rfb.resizeSession = UI.getSetting('resize') === 'remote';
UI.updateViewOnly();
},
disconnect: function() {