diff --git a/client/lib/utils.js b/client/lib/utils.js index e77f33d01..c86e95399 100644 --- a/client/lib/utils.js +++ b/client/lib/utils.js @@ -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