From 90ca9819581874256137d14392fd7d2e1eaa5e0a Mon Sep 17 00:00:00 2001 From: Hans Scharler Date: Wed, 30 Oct 2024 16:05:57 -0400 Subject: [PATCH] Fixed an issue with displaying the current color --- snow.html | 2 +- solid-color-background.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/snow.html b/snow.html index 9c365c7..04911af 100644 --- a/snow.html +++ b/snow.html @@ -50,7 +50,7 @@ } document.body.style.backgroundColor = color.htmlName; document.body.title = `Current CheerLights color: ${color.htmlName}`; - + } function createSnowflake() { const snowflake = document.createElement('div'); diff --git a/solid-color-background.html b/solid-color-background.html index d058639..0f71efe 100644 --- a/solid-color-background.html +++ b/solid-color-background.html @@ -37,6 +37,7 @@ } document.body.style.backgroundColor = color.htmlName; document.body.title = `Current CheerLights color: ${color.htmlName}`; + } document.body.addEventListener('click', () => { window.open(CHEERLIGHTS_URL, '_blank');