Make the skipsong buttons not show active if the function is aborted

This commit is contained in:
Junior 2020-04-18 15:28:55 -04:00
parent 5096cd88e5
commit 2b8e992742

View File

@ -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,