summaryrefslogtreecommitdiff
path: root/assets/js/src/board.js
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-12 20:42:43 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-12 20:42:43 -0400
commitf4454c17b81c986fd35ce7272e4c5b765b94bdb8 (patch)
treef8382a62cf5a2684df0f264e22da5c210e4ce414 /assets/js/src/board.js
parent412a8eb8c898d47c81416b1bd8464145e976ee09 (diff)
parent72681443a61018231eaa180a5d283e3825641219 (diff)
Merge pull-request #706
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");
}
}