Skip to content

Commit

Permalink
Fixed an issue with displaying the current color
Browse files Browse the repository at this point in the history
  • Loading branch information
nothans committed Oct 30, 2024
1 parent 7e428be commit 90ca981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion snow.html
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 1 addition & 0 deletions solid-color-background.html
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 90ca981

Please sign in to comment.