mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Bugfix, variable "color" didn't exist
- background-color is maybe wrong too, but better than throwing an exception
This commit is contained in:
parent
f2247ed86d
commit
3c477e9783
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ Utils = {
|
||||||
if (currentBoard.backgroundImageURL !== undefined) {
|
if (currentBoard.backgroundImageURL !== undefined) {
|
||||||
$(".board-wrapper").css({"background":"url(" + currentBoard.backgroundImageURL + ")","background-size":"cover"});
|
$(".board-wrapper").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"});
|
$(".swimlane,.swimlane .list,.swimlane .list .list-body,.swimlane .list:first-child .list-body").css({"background-color":"transparent"});
|
||||||
} else if (currentBoard.color !== undefined) {
|
} else if (currentBoard["background-color"]) {
|
||||||
currentBoard.setColor(currentBoard.color);
|
currentBoard.setColor(currentBoard["background-color"]);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** returns the current board id
|
/** returns the current board id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue