mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 11:31:23 +01:00
fixed tags page search
This commit is contained in:
@@ -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);
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user