mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Set background color only if it exists.
Thanks to xet7 !
This commit is contained in:
parent
81ceb1ca0f
commit
45d33fa2e4
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ Utils = {
|
|||
if (currentBoard.backgroundImageURL) {
|
||||
$(".board-wrapper,.board-wrapper .board-canvas").css({"background":"url(" + currentBoard.backgroundImageURL + ")","background-size":"cover"});
|
||||
$(".swimlane,.swimlane .list,.swimlane .list .list-body,.swimlane .list:first-child .list-body").css({"background-color":"transparent"});
|
||||
} else {
|
||||
$(".board-wrapper,.board-wrapper .board-canvas").css({"background": currentBoard.background-color});
|
||||
} else if (currentBoard.background-color) {
|
||||
$(".board-wrapper,.board-wrapper .board-canvas").css({"background": currentBoard.background-color});
|
||||
}
|
||||
},
|
||||
/** returns the current board id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue