mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-25 14:27:19 +00:00
Typo error prevend webradio playlists to show.
This commit is contained in:
parent
612f8fc0b2
commit
b787c782d1
@ -316,11 +316,11 @@ function webSocketConnect() {
|
|||||||
if (filter !== undefined) {
|
if (filter !== undefined) {
|
||||||
var first = obj.data[item].dir[0];
|
var first = obj.data[item].dir[0];
|
||||||
if (filter === "#" && isNaN(first)) {
|
if (filter === "#" && isNaN(first)) {
|
||||||
clazz += ' hide';
|
clazz += 'hide';
|
||||||
} else if (filter >= "A" && filter <= "Z" && first.toUpperCase() !== filter) {
|
} else if (filter >= "A" && filter <= "Z" && first.toUpperCase() !== filter) {
|
||||||
clazz += ' hide';
|
clazz += 'hide';
|
||||||
} else if (filter === "||") {
|
} else if (filter === "||") {
|
||||||
clazz += ' hide';
|
clazz += 'hide';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$('#salamisandwich > tbody').append(
|
$('#salamisandwich > tbody').append(
|
||||||
@ -333,7 +333,7 @@ function webSocketConnect() {
|
|||||||
case 'playlist':
|
case 'playlist':
|
||||||
var clazz = 'plist';
|
var clazz = 'plist';
|
||||||
if (filter !== "||") {
|
if (filter !== "||") {
|
||||||
clazz += ' hide';
|
clazz += 'hide';
|
||||||
}
|
}
|
||||||
$('#salamisandwich > tbody').append(
|
$('#salamisandwich > tbody').append(
|
||||||
"<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"" + clazz + "\">" +
|
"<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"" + clazz + "\">" +
|
||||||
|
Loading…
Reference in New Issue
Block a user