diff --git a/js/minimal.js b/js/minimal.js index e913ad3..84757f2 100755 --- a/js/minimal.js +++ b/js/minimal.js @@ -54,7 +54,6 @@ $(document).ready(function() { allowPageScroll: "vertical" }); updateQueueSelects(); - getVolume(); toggleMute($(this), 'show'); getSongList(); getQueueTarget(); @@ -355,11 +354,12 @@ function skipSong (callingElement) { callingElement.blur(); if ( gettingJukeboxList || gettingSongList ) return false; callingElement.addClass("buttonactive"); + console.log("Skipping song"); $.ajax({ url: 'ajax/ajax_skipsong.php', success: function (data, stat, jqo) { callingElement.removeClass("buttonactive"); - getSongList(); + setTimeout(function() { getSongList(); }, 250); }, error: function(jqo, stat, err) { callingElement.removeClass("buttonactive");