mirror of
https://github.com/wekan/wekan.git
synced 2025-12-26 04:08:49 +01:00
Merge pull request #5486 from mfilser/master
Bugfix, variable "color" didn't exist
This commit is contained in:
commit
58fc810a43
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ Utils = {
|
|||
if (currentBoard.backgroundImageURL !== undefined) {
|
||||
$(".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"});
|
||||
} else if (currentBoard.color !== undefined) {
|
||||
currentBoard.setColor(currentBoard.color);
|
||||
} else if (currentBoard["background-color"]) {
|
||||
currentBoard.setColor(currentBoard["background-color"]);
|
||||
}
|
||||
},
|
||||
/** returns the current board id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue