فهرست منبع

don't set background image in .board-canvas too

Martin Filser 2 سال پیش
والد
کامیت
3641a8f389
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);