1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

bg hotfix

This commit is contained in:
NoobishSVK
2024-03-24 18:50:30 +01:00
parent f113e10160
commit 8c20cae736

View File

@@ -182,7 +182,7 @@ var currentVersion = 'v1.1.7 [' + formattedDate + ']';
function setBg() {
if(localStorage.getItem('bgImage').length > 1 && localStorage.getItem('theme') != 'theme8') {
$('body').css('background', 'url(' + localStorage.getItem('bgImage') + ') var(--color-main)');
$('body').css('background', 'url(' + localStorage.getItem('bgImage') + ') top left / cover no-repeat var(--color-main)');
} else {
$('body').css('background', 'var(--color-main)');
}