From: Archphile Date: Thu, 10 May 2018 07:22:44 +0000 (+0300) Subject: typo fix as per emilot commit X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=870da6f9a1f2ad9fc97c84494eac5c3b1dca52c8;p=ympd.git typo fix as per emilot commit Please see: https://github.com/notandy/ympd/pull/175 --- diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 028ad84..4a8ba8b 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( "" +