From 66d4259af27435370fe25e06c270f3a4dda4893d Mon Sep 17 00:00:00 2001 From: swaggboi Date: Fri, 6 Sep 2024 22:14:46 -0400 Subject: [PATCH] Minor clean up --- public/js/background.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/js/background.js b/public/js/background.js index 1001dd1..d2b6bd1 100644 --- a/public/js/background.js +++ b/public/js/background.js @@ -1,8 +1,6 @@ (function () { - const bodyStyle = document.body.style; - function setImage(url) { - bodyStyle.backgroundImage = "url('" + url + "')"; + document.body.style.backgroundImage = "url('" + url + "')"; } switch (new Date().getMonth()) {