Authored by xuqi

filter with attr-key.Review by:@xuqi

... ... @@ -152,7 +152,7 @@ $('#brand-search-input').keyup(function() {
if (val === '') {
$brandAttrs.removeClass('hide');
} else {
$brandAttrs.addClass('hide').filter('[data-key*=' + val + ']').removeClass('hide');
$brandAttrs.addClass('hide').filter('[data-key*="' + val + '"]').removeClass('hide');
}
});
... ...