Update ui.js
This commit is contained in:
parent
1f9d0cb12f
commit
bcd1e28c84
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue