fix: frontend bgimagechoice can be null (#3270)
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -650,6 +650,7 @@ window.windowMixin = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
applyBackgroundImage() {
|
applyBackgroundImage() {
|
||||||
|
if (this.bgimageChoice == 'null') this.bgimageChoice = ''
|
||||||
if (this.bgimageChoice == '') {
|
if (this.bgimageChoice == '') {
|
||||||
document.body.classList.remove('bg-image')
|
document.body.classList.remove('bg-image')
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user