Skip to content

Node.js based forum software built for the modern web

fixed tags page search

barisusakli3557aa2f9a7a
diff --git a/public/src/forum/tags.js b/public/src/forum/tags.js
index 64234f697b..c96a921472 100644
--- a/public/src/forum/tags.js
+++ b/public/src/forum/tags.js
@@ -9,9 +9,9 @@ define('forum/tags', function() {
app.enterRoom('tags');
$('#tag-search').on('input propertychange', function() {
- $('.tag-list a').each(function() {
- var $this = $(this)
- $this.toggleClass('hide', $this.attr('data-value').indexOf($('#tag-search').val()) === -1);
+ $('.tag-list').children().each(function() {
+ var $this = $(this);
+ $this.toggleClass('hide', $this.find('a').attr('data-value').indexOf($('#tag-search').val()) === -1);
})
});
};