Please see: https://github.com/notandy/ympd/pull/175
if (filter !== undefined) {
var first = obj.data[item].dir[0];
if (filter === "#" && isNaN(first)) {
- clazz += ' hide';
+ clazz += 'hide';
} else if (filter >= "A" && filter <= "Z" && first.toUpperCase() !== filter) {
- clazz += ' hide';
+ clazz += 'hide';
} else if (filter === "||") {
- clazz += ' hide';
+ clazz += 'hide';
}
}
$('#salamisandwich > tbody').append(
case 'playlist':
var clazz = 'plist';
if (filter !== "||") {
- clazz += ' hide';
+ clazz += 'hide';
}
$('#salamisandwich > tbody').append(
"<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"" + clazz + "\">" +