From 542453939e607b01d786d2acb88bb7372f85a269 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 10 May 2014 15:14:10 +1200 Subject: [PATCH] fix clicking tags when already filtered --- static/site.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/site.js b/static/site.js index 76bb024..b65a989 100644 --- a/static/site.js +++ b/static/site.js @@ -12,6 +12,10 @@ }; var show_tag = function(tag) { + if (document.querySelector(".tag-filter-warn") !== null) { + show_all(); + } + var tr = document.querySelectorAll(".projtable tr"); 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";