forked from server/soundboard
Fix matching for tag selection
This commit is contained in:
parent
e732d34f4b
commit
b0df58c925
@ -84,7 +84,7 @@ function tagFilter(sounds) {
|
|||||||
items.forEach(function(item) {
|
items.forEach(function(item) {
|
||||||
var name = item.firstChild.innerHTML;
|
var name = item.firstChild.innerHTML;
|
||||||
|
|
||||||
if (sounds.length > 0 && sounds.indexOf(name.toLowerCase()) === -1) {
|
if (sounds.length > 0 && sounds.indexOf(name) === -1) {
|
||||||
item.style.display = "none";
|
item.style.display = "none";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user