summaryrefslogtreecommitdiff
path: root/assets/js/src/board.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src/board.js')
-rw-r--r--assets/js/src/board.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/assets/js/src/board.js b/assets/js/src/board.js
index 878cb98e..9f93a869 100644
--- a/assets/js/src/board.js
+++ b/assets/js/src/board.js
@@ -384,16 +384,16 @@ Kanboard.Board = (function() {
$(".filter-wide").show();
$(".filter-compact").hide();
- $("#board-container").removeClass("board-container-wide").addClass("board-container-compact");
- $("#board th,#board td").removeClass("board-column-wide").addClass("board-column-compact");
+ $("#board-container").addClass("board-container-compact");
+ $("#board th").addClass("board-column-compact");
}
else {
$(".filter-wide").hide();
$(".filter-compact").show();
- $("#board-container").removeClass("board-container-compact").addClass("board-container-wide");
- $("#board th,#board td").removeClass("board-column-compact").addClass("board-column-wide");
+ $("#board-container").removeClass("board-container-compact");
+ $("#board th").removeClass("board-column-compact");
}
}