Try to fix the problem in tag filtering reported by Tyler. re #125
This commit is contained in:
parent
31d2c69341
commit
0130e33c82
2
util.js
2
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 ("<li>" + tag + "</li>");
|
||||
|
|
Loading…
Reference in a new issue