From b787c782d18b60b8ea0621e920f346f486c207aa Mon Sep 17 00:00:00 2001 From: Emilot Date: Thu, 10 May 2018 02:43:57 +0300 Subject: [PATCH] Typo error prevend webradio playlists to show. --- htdocs/js/mpd.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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( "" +