From 23a8cd55553776ed1ee96be670da73215b01ff50 Mon Sep 17 00:00:00 2001 From: Vincent BOUQUET Date: Sat, 25 Nov 2023 16:25:04 +0100 Subject: [PATCH] fix temperature unit --- t1/base.js | 2 +- t1/index.html | 72 +++++---------------------------------------------- 2 files changed, 7 insertions(+), 67 deletions(-) diff --git a/t1/base.js b/t1/base.js index f735afa..581e857 100644 --- a/t1/base.js +++ b/t1/base.js @@ -466,7 +466,7 @@ function populateUIFromSessionStorage() { $("#" + sessionStorage.key(i) + "_v").html(valueToLoad) // for each element with id tu_v sets html to string of temp unit - $('div[id^="tu_v"]').html(sessionStorage.getItem('t1_tu')) + $('div[id^="t1_tu_v"]').html(sessionStorage.getItem('t1_tu')) } } diff --git a/t1/index.html b/t1/index.html index a46bc7a..f027030 100644 --- a/t1/index.html +++ b/t1/index.html @@ -108,82 +108,22 @@

current / maximum / resetable