From 2b8e992742ef7d2ab65aba8d485a681103e53a63 Mon Sep 17 00:00:00 2001 From: junior Date: Sat, 18 Apr 2020 15:28:55 -0400 Subject: [PATCH] Make the skipsong buttons not show active if the function is aborted --- minimal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal.js b/minimal.js index aef05f8..8a05c18 100755 --- a/minimal.js +++ b/minimal.js @@ -347,8 +347,8 @@ function toggleMute(callingElement, show) { function skipSong (callingElement) { callingElement.blur(); - callingElement.addClass("buttonactive"); if ( gettingJukeboxList || gettingSongList ) return false; + callingElement.addClass("buttonactive"); $.ajax({ url: 'ajax_skipsong.php', async: false,