From 4be2db91e4b1d32815193eedefb4329132726bb2 Mon Sep 17 00:00:00 2001 From: Daniel Schregenberger Date: Fri, 11 May 2018 15:34:38 +0200 Subject: [PATCH] Revert "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 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( "" + -- 2.20.1