Narrow the scoping, so to speak (??)
This commit is contained in:
parent
f5f15d7d11
commit
04ff49c932
@ -1,3 +1,4 @@
|
||||
(function () {
|
||||
const bodyStyle = document.body.style;
|
||||
|
||||
function setImage(url) {
|
||||
@ -21,3 +22,4 @@ switch (new Date().getMonth()) {
|
||||
setImage('/images/christmas.gif');
|
||||
break;
|
||||
}
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user