summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src')
-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 e4ba4ed5..7cceb533 100644
--- a/assets/js/src/board.js
+++ b/assets/js/src/board.js
@@ -218,18 +218,18 @@ Kanboard.Board = (function() {
var categoryId = item.getAttribute("data-category-id");
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";
}
});