1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-22 17:10:26 +00:00

Merge pull request #18 from Emilot/master

Typo error prevend webradio playlists to show.
This commit is contained in:
Daniel Schregenberger 2018-05-10 12:01:36 +02:00 committed by GitHub
commit ffe1305c3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -405,11 +405,11 @@ function webSocketConnect() {
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(
@ -422,7 +422,7 @@ function webSocketConnect() {
case 'playlist':
var clazz = 'plist';
if (filter !== "||") {
clazz += ' hide';
clazz += 'hide';
}
$('#salamisandwich > tbody').append(
"<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"" + clazz + "\">" +