From: Emilot Date: Wed, 9 May 2018 23:43:57 +0000 (+0300) Subject: Typo error prevend webradio playlists to show. X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=b787c782d18b60b8ea0621e920f346f486c207aa;p=ympd.git Typo error prevend webradio playlists to show. --- diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index ce2fd8e..7fb1073 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -316,11 +316,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( @@ -333,7 +333,7 @@ function webSocketConnect() { case 'playlist': var clazz = 'plist'; if (filter !== "||") { - clazz += ' hide'; + clazz += 'hide'; } $('#salamisandwich > tbody').append( "" +