From 2023a2f9294e3886a06dc88b1ec20321b3dd8782 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 8 May 2022 09:22:52 -0700 Subject: [PATCH] Removed debug code, #3935 --- meshctrl.js | 2 -- public/scripts/agent-rdp-0.0.1.js | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/meshctrl.js b/meshctrl.js index 583cf48f..fb0e7cde 100644 --- a/meshctrl.js +++ b/meshctrl.js @@ -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++; } diff --git a/public/scripts/agent-rdp-0.0.1.js b/public/scripts/agent-rdp-0.0.1.js index df868b50..7be6b415 100644 --- a/public/scripts/agent-rdp-0.0.1.js +++ b/public/scripts/agent-rdp-0.0.1.js @@ -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 () { }