Simplify connected() function

This commit is contained in:
Samuel Mannehed 2018-08-15 09:19:30 +02:00
parent de79ae92e5
commit 27dff4a0a2
1 changed files with 1 additions and 6 deletions

View File

@ -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) {