diff options
author | Samuel Mannehed <samuel@cendio.se> | 2018-08-15 09:19:30 +0200 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2018-08-21 12:23:17 +0200 |
commit | 27dff4a0a2d57323211a8d28caf2da447255ab35 (patch) | |
tree | b2119730eeae61004af33219d7374e51f5811391 | |
parent | de79ae92e5f6be6219c90d054ce4bc7f587d04a8 (diff) | |
download | novnc-27dff4a0a2d57323211a8d28caf2da447255ab35.tar.gz |
Simplify connected() function
-rw-r--r-- | vnc_lite.html | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vnc_lite.html b/vnc_lite.html index d3d33fc..806a8d8 100644 --- a/vnc_lite.html +++ b/vnc_lite.html @@ -113,12 +113,7 @@ function connected(e) { document.getElementById('sendCtrlAltDelButton').disabled = false; - if (WebUtil.getConfigVar('encrypt', - (window.location.protocol === "https:"))) { - status("Connected (encrypted) to " + desktopName); - } else { - status("Connected (unencrypted) to " + desktopName); - } + status("Connected to " + desktopName); } function disconnected(e) { |