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( "" +