From 27dff4a0a2d57323211a8d28caf2da447255ab35 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Wed, 15 Aug 2018 09:19:30 +0200 Subject: [PATCH] Simplify connected() function --- vnc_lite.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/vnc_lite.html b/vnc_lite.html index d3d33fc7..806a8d82 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) {