From 7ddbc11d273b0cfe21c251ada89fa17078b850a4 Mon Sep 17 00:00:00 2001
From: Junior <junior@jaj.com>
Date: Sat, 1 Jun 2024 12:53:16 -0400
Subject: [PATCH] Remove superfluous getVolume in document.ready

---
 js/minimal.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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");