Remove superfluous getVolume in document.ready
This commit is contained in:
parent
83925c2705
commit
7ddbc11d27
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user