From: Daniel Schregenberger Date: Fri, 11 May 2018 13:34:38 +0000 (+0200) Subject: Revert "Typo error prevend webradio playlists to show." X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=4be2db91e4b1d32815193eedefb4329132726bb2;p=ympd.git Revert "Typo error prevend webradio playlists to show." --- diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 8c74fcf..14cc505 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -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( "" +