Skip to content

Node.js based forum software built for the modern web

only search tag value

barisusaklifb72b4c8e01e
diff --git a/public/src/forum/tags.js b/public/src/forum/tags.js
index 49e8913f2f..64234f697b 100644
--- a/public/src/forum/tags.js
+++ b/public/src/forum/tags.js
@@ -11,7 +11,7 @@ define('forum/tags', function() {
$('#tag-search').on('input propertychange', function() {
$('.tag-list a').each(function() {
var $this = $(this)
- $this.toggleClass('hide', $this.attr('href').indexOf($('#tag-search').val()) === -1);
+ $this.toggleClass('hide', $this.attr('data-value').indexOf($('#tag-search').val()) === -1);
})
});
};