|
|
|
@ -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);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|