Try to fix the problem in tag filtering reported by Tyler. re #125

This commit is contained in:
Sébastien Lucas 2013-12-12 21:52:20 +01:00
parent 31d2c69341
commit 0130e33c82
1 changed files with 1 additions and 1 deletions

View File

@ -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 ("<li>" + tag + "</li>");