Selaa lähdekoodia

Merge pull request #5485 from mfilser/master

don't set background image in .board-canvas too
Lauri Ojansivu 10 kuukautta sitten
vanhempi
sitoutus
53d97a593f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      client/lib/utils.js

+ 1 - 1
client/lib/utils.js

@@ -4,7 +4,7 @@ Utils = {
   setBackgroundImage(url) {
   setBackgroundImage(url) {
     const currentBoard = Utils.getCurrentBoard();
     const currentBoard = Utils.getCurrentBoard();
     if (currentBoard.backgroundImageURL !== undefined) {
     if (currentBoard.backgroundImageURL !== undefined) {
-      $(".board-wrapper,.board-wrapper .board-canvas").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.color !== undefined) {
       currentBoard.setColor(currentBoard.color);
       currentBoard.setColor(currentBoard.color);