Fix matching for tag selection

This commit is contained in:
Martin Müller 2018-01-17 01:47:20 +01:00
parent e732d34f4b
commit b0df58c925

View File

@ -84,7 +84,7 @@ function tagFilter(sounds) {
items.forEach(function(item) {
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";
}
});