From b33521b13ee7298fd54a720491fa3e1d46b90303 Mon Sep 17 00:00:00 2001 From: M-Factory Date: Wed, 16 Jul 2025 23:35:07 +0900 Subject: [PATCH] bug fixes --- data/index.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/data/index.html b/data/index.html index bd52397..73ee4a2 100644 --- a/data/index.html +++ b/data/index.html @@ -636,11 +636,7 @@ window.onload = function () { document.getElementById('showDayOfWeek').checked = !!data.showDayOfWeek; document.getElementById('showHumidity').checked = !!data.showHumidity; document.getElementById('showWeatherDescription').checked = !!data.showWeatherDescription; - document.getElementById('showWeatherDescription').addEventListener('change', function() { - setShowWeatherDescription(this.checked); - }); - - // Dimming controls + // Dimming controls const dimmingEnabledEl = document.getElementById('dimmingEnabled'); const isDimming = (data.dimmingEnabled === true || data.dimmingEnabled === "true" || data.dimmingEnabled === 1); dimmingEnabledEl.checked = isDimming;