diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-16 21:59:43 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-16 21:59:43 -0500 |
commit | 14ba39be8d78761fb322e0e0860c6344eebc2153 (patch) | |
tree | ab6a4e5d9e9faffef350acb396f2a65178b48051 /assets/js/src/board.js | |
parent | 7f52caf84fe4b82ae2a95523fc94e77b62c698e0 (diff) | |
parent | 128f2c8ebbfaa35144a237fe30b2d82f8202114b (diff) |
Hide tasks when filters are activated instead of changing the opacity (pull-request #628)
Diffstat (limited to 'assets/js/src/board.js')
-rw-r--r-- | assets/js/src/board.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assets/js/src/board.js b/assets/js/src/board.js index d2aeb0bd..32a9d3ed 100644 --- a/assets/js/src/board.js +++ b/assets/js/src/board.js @@ -284,18 +284,18 @@ Kanboard.Board = (function() { var recent = item.matches(".task-board-recent"); if (ownerId != selectedUserId && selectedUserId != -1) { - item.style.opacity = "0.2"; + item.style.display = "none"; } else { - item.style.opacity = "1.0"; + item.style.display = "block"; } if (filterDueDate && (dueDate == "" || dueDate == "0")) { - item.style.opacity = "0.2"; + item.style.display = "none"; } if (categoryId != selectedCategoryId && selectedCategoryId != -1) { - item.style.opacity = "0.2"; + item.style.display = "none"; } if (filterRecent && ! recent) { |