From 62bcae2559eb150adcb329433db9a1c34e3dae30 Mon Sep 17 00:00:00 2001 From: Jeremy Jung Date: Thu, 10 Dec 2020 17:12:18 -0500 Subject: [PATCH] add feature: click after active for reboot hub --- cdn/ServiceDock.js | 6 +++--- server/examples/modules/ServiceDock_SPIKE.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cdn/ServiceDock.js b/cdn/ServiceDock.js index ebae7d2..7bb0ced 100644 --- a/cdn/ServiceDock.js +++ b/cdn/ServiceDock.js @@ -1685,7 +1685,7 @@ class servicespike extends HTMLElement { } } } else { - // this.service.rebootHub(); + this.service.rebootHub(); } }); @@ -4558,11 +4558,11 @@ function Service_SPIKE() { } else { - console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline needs reset: ", jsonline); + // console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline needs reset: ", jsonline); jsonline = jsonline.substring(carriageReIndex + 2, jsonline.length); - console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline was reset to:" + jsonline); + // console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline was reset to:" + jsonline); // reset jsonline for next concatenation // jsonline = ""; diff --git a/server/examples/modules/ServiceDock_SPIKE.js b/server/examples/modules/ServiceDock_SPIKE.js index d26364a..1281366 100644 --- a/server/examples/modules/ServiceDock_SPIKE.js +++ b/server/examples/modules/ServiceDock_SPIKE.js @@ -136,7 +136,7 @@ class servicespike extends HTMLElement { } } } else { - // this.service.rebootHub(); + this.service.rebootHub(); } }); @@ -3009,11 +3009,11 @@ function Service_SPIKE() { } else { - console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline needs reset: ", jsonline); + // console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline needs reset: ", jsonline); jsonline = jsonline.substring(carriageReIndex + 2, jsonline.length); - console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline was reset to:" + jsonline); + // console.log("%cTuftsCEEO ", "color: #3ba336;", "jsonline was reset to:" + jsonline); // reset jsonline for next concatenation // jsonline = "";