Narrow the scoping, so to speak (??)

This commit is contained in:
swagg boi 2024-06-25 17:37:57 -04:00
parent f5f15d7d11
commit 04ff49c932

View file

@ -1,3 +1,4 @@
(function () {
const bodyStyle = document.body.style; const bodyStyle = document.body.style;
function setImage(url) { function setImage(url) {
@ -21,3 +22,4 @@ switch (new Date().getMonth()) {
setImage('/images/christmas.gif'); setImage('/images/christmas.gif');
break; break;
} }
})();