From add499e2458eaa51e170d40c16ddfaa4432f4d49 Mon Sep 17 00:00:00 2001 From: Dmitry Blinov Date: Fri, 8 Mar 2019 01:57:53 +0200 Subject: [PATCH] Update custom.js --- code/html/custom.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/html/custom.js b/code/html/custom.js index df7a205a..1456a7af 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -1616,9 +1616,11 @@ function processData(data) { var days = uptime; value = days + "d " + zeroPad(hours, 2) + "h " + zeroPad(minutes, 2) + "m " + zeroPad(seconds, 2) + "s"; } + if ("tmpUnits" == key) { $("span.tmpUnit").html(data[key] == 1 ? "ºF" : "ºC"); } + // --------------------------------------------------------------------- // Matching