Removed debug code, #3935

This commit is contained in:
Ylian Saint-Hilaire 2022-05-08 09:22:52 -07:00
parent 129f13e7c3
commit 2023a2f929
2 changed files with 1 additions and 7 deletions

View File

@ -2526,8 +2526,6 @@ function displayDeviceInfo(sysinfo, lastconnect, network, nodes) {
if (lastconnect != null) { node.lastconnect = lastconnect.time; node.lastaddr = lastconnect.addr; }
if (args.raw) { console.log(JSON.stringify(sysinfo, ' ', 2)); return; }
console.log(node);
// General
var output = {}, outputCount = 0;
if (node.name) { output["Server Name"] = node.name; outputCount++; }

View File

@ -185,11 +185,7 @@ var CreateRDPDesktop = function (canvasid) {
if (typeof action == 'object') { for (var i in action) { obj.m.SendKeyMsgKC(action[i][0], action[i][1], action[i][2]); } }
else {
var scan = shortcutToScan[kc];
//console.log(action, kc, extendedKey, scan);
if (scan != null) {
//console.log('SEND', ['scancode', scan, ((action & 1) != 0)]);
obj.socket.send(JSON.stringify(['scancode', scan, ((action & 1) != 0)]));
}
if (scan != null) { obj.socket.send(JSON.stringify(['scancode', scan, ((action & 1) != 0)])); }
}
}
obj.m.mousedblclick = function () { }