From 870da6f9a1f2ad9fc97c84494eac5c3b1dca52c8 Mon Sep 17 00:00:00 2001 From: Archphile Date: Thu, 10 May 2018 10:22:44 +0300 Subject: [PATCH] typo fix as per emilot commit Please see: https://github.com/notandy/ympd/pull/175 --- 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 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( "" + -- 2.20.1