ass="icon icon-trash-empty"></i>
                </a>
              </td>
            {% endif %}
          </tr>
        `
      });
    }
    else {
      // {# MSG: Placeholder text which appears instead of a song when the queue is empty. #}
      html += `<tr><td><p class="has-text-warning">{{ _('The queue is empty') }}</p></td></tr>`
    }
    return html;
  }

  $(document).on('click', '.confirm-delete', function (e) {
    e.preventDefault();
      if (
        window.confirm(
          `Are you sure 