Reformat lines to avoid line-breaks

This commit is contained in:
Samuel Mannehed 2016-10-24 13:35:06 +02:00
parent 9b3d363d07
commit daca5b1727
1 changed files with 4 additions and 4 deletions

View File

@ -363,6 +363,7 @@ var UI;
* ------v------*/ * ------v------*/
updateState: function(rfb, state, oldstate) { updateState: function(rfb, state, oldstate) {
var msg;
switch (state) { switch (state) {
case 'connecting': case 'connecting':
UI.showStatus("Connecting"); UI.showStatus("Connecting");
@ -370,12 +371,11 @@ var UI;
case 'connected': case 'connected':
UI.connected = true; UI.connected = true;
if (rfb && rfb.get_encrypt()) { if (rfb && rfb.get_encrypt()) {
UI.showStatus("Connected (encrypted) to " + msg = "Connected (encrypted) to " + UI.desktopName;
UI.desktopName);
} else { } else {
UI.showStatus("Connected (unencrypted) to " + msg = "Connected (unencrypted) to " + UI.desktopName;
UI.desktopName);
} }
UI.showStatus(msg);
break; break;
case 'disconnecting': case 'disconnecting':
UI.showStatus("Disconnecting"); UI.showStatus("Disconnecting");