Removed debug code, #3935
Ylian Saint-Hilaire committed
May 8, 2022 at 09:22 UTC
2023a2f9294e3886a06dc88b1ec20321b3dd8782
2 files changed
+1
-7
meshctrl.js
-2
@@ -2526,8 +2526,6 @@ function displayDeviceInfo(sysinfo, lastconnect, network, nodes) {
2526
if (lastconnect != null) { node.lastconnect = lastconnect.time; node.lastaddr = lastconnect.addr; }
2527
if (args.raw) { console.log(JSON.stringify(sysinfo, ' ', 2)); return; }
2528
2529
- console.log(node);
2530
-
2529
// General
2530
var output = {}, outputCount = 0;
2531
if (node.name) { output["Server Name"] = node.name; outputCount++; }
public/scripts/agent-rdp-0.0.1.js
+1
-5
@@ -185,11 +185,7 @@ var CreateRDPDesktop = function (canvasid) {
185
if (typeof action == 'object') { for (var i in action) { obj.m.SendKeyMsgKC(action[i][0], action[i][1], action[i][2]); } }
186
else {
187
var scan = shortcutToScan[kc];
188
- //console.log(action, kc, extendedKey, scan);
189
- if (scan != null) {
190
- //console.log('SEND', ['scancode', scan, ((action & 1) != 0)]);
191
- obj.socket.send(JSON.stringify(['scancode', scan, ((action & 1) != 0)]));
192
- }
188
+ if (scan != null) { obj.socket.send(JSON.stringify(['scancode', scan, ((action & 1) != 0)])); }
189
}
190
}
191
obj.m.mousedblclick = function () { }