mirror of
https://github.com/SuperBFG7/ympd
synced 2024-10-31 20:16:17 +00:00
Merge pull request #22 from SuperBFG7/revert-18-master
Revert "Typo error prevend webradio playlists to show."
This commit is contained in:
commit
1e96a921c5
@ -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 + "\">" +
|
||||
|
Loading…
Reference in New Issue
Block a user