Make the skipsong buttons not show active if the function is aborted
This commit is contained in:
parent
5096cd88e5
commit
2b8e992742
|
@ -347,8 +347,8 @@ function toggleMute(callingElement, show) {
|
||||||
|
|
||||||
function skipSong (callingElement) {
|
function skipSong (callingElement) {
|
||||||
callingElement.blur();
|
callingElement.blur();
|
||||||
callingElement.addClass("buttonactive");
|
|
||||||
if ( gettingJukeboxList || gettingSongList ) return false;
|
if ( gettingJukeboxList || gettingSongList ) return false;
|
||||||
|
callingElement.addClass("buttonactive");
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'ajax_skipsong.php',
|
url: 'ajax_skipsong.php',
|
||||||
async: false,
|
async: false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user