Browse Source

Update custom.js

rules-rpn
Dmitry Blinov 5 years ago
parent
commit
add499e245
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      code/html/custom.js

+ 2
- 0
code/html/custom.js View File

@ -1616,9 +1616,11 @@ function processData(data) {
var days = uptime; var days = uptime;
value = days + "d " + zeroPad(hours, 2) + "h " + zeroPad(minutes, 2) + "m " + zeroPad(seconds, 2) + "s"; value = days + "d " + zeroPad(hours, 2) + "h " + zeroPad(minutes, 2) + "m " + zeroPad(seconds, 2) + "s";
} }
<!-- removeIf(!thermostat)-->
if ("tmpUnits" == key) { if ("tmpUnits" == key) {
$("span.tmpUnit").html(data[key] == 1 ? "ºF" : "ºC"); $("span.tmpUnit").html(data[key] == 1 ? "ºF" : "ºC");
} }
<!-- endRemoveIf(!thermostat)-->
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Matching // Matching


Loading…
Cancel
Save