fix clicking tags when already filtered
This commit is contained in:
parent
84d24471b2
commit
542453939e
@ -12,6 +12,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var show_tag = function(tag) {
|
var show_tag = function(tag) {
|
||||||
|
if (document.querySelector(".tag-filter-warn") !== null) {
|
||||||
|
show_all();
|
||||||
|
}
|
||||||
|
|
||||||
var tr = document.querySelectorAll(".projtable tr");
|
var tr = document.querySelectorAll(".projtable tr");
|
||||||
for (var i = 0, e = tr.length; i !== e; ++i) {
|
for (var i = 0, e = tr.length; i !== e; ++i) {
|
||||||
tr[i].style.display = (tr[i].className.split(" ").indexOf("taggedWith-"+tag) === -1) ? "none" : "table-row";
|
tr[i].style.display = (tr[i].className.split(" ").indexOf("taggedWith-"+tag) === -1) ? "none" : "table-row";
|
||||||
|
Reference in New Issue
Block a user