From 0130e33c8263933137df9a9bf9704e030a084e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Thu, 12 Dec 2013 21:52:20 +0100 Subject: [PATCH] Try to fix the problem in tag filtering reported by Tyler. re #125 --- util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.js b/util.js index a99e981..4f4a061 100644 --- a/util.js +++ b/util.js @@ -147,7 +147,7 @@ function updateFilters () { for (var tag in tagList) { var tagValue = tagList [tag]; if (tagValue === -1) { - $("#filter ul li:contains('" + tag + "')").remove(); + $("#filter ul li").filter (function () { return $.text([this]) === tag; }).remove(); } if (tagValue === 1) { $("#filter ul").append ("
  • " + tag + "
  • ");