consolidate background-image css

This commit is contained in:
johnwang16
2024-10-18 20:38:27 -04:00
parent 8b1e732fa3
commit 7dd77e06d4
6 changed files with 17 additions and 7 deletions

View File

@@ -1195,11 +1195,9 @@ $(document).ready(function() {
setCookie("UI_dark_mode", "True")
$('head').append('<link rel="stylesheet" href="css/dark-patch.css">');
// Set the background image for dark mode
$('body').attr('style', 'background-image: url(\'img/boxed-bg-dark.png\');');
} else {
setCookie("UI_dark_mode", "False")
// Set the background image for light mode
$('body').attr('style', 'background-image: url(\'img/background.png\');');
}
});