mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
only search tag value
This commit is contained in:
@@ -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);
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user