From fb72b4c8e01e6233d482afd69ff441d62166070d Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 26 Jun 2014 23:05:47 -0400 Subject: [PATCH] only search tag value --- public/src/forum/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }) }); };