diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 004b97f..ac6cfba 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -279,23 +279,23 @@ function webSocketConnect() { if ( isTouch ) { $('#queueList > tbody > tr > td:last-child').append( - "" + - "delete"); + '' + + 'delete'); } else { $('#queueList > tbody > tr').on({ mouseover: function(){ var doomed = $(this); if ( $('#btntrashmodeup').hasClass('btn-success') ) - doomed = $("#queueList > tbody > tr:lt(" + ($(this).index() + 1) + ")"); + doomed = $('#queueList > tbody > tr:lt(' + ($(this).index() + 1) + ')'); if ( $('#btntrashmodedown').hasClass('btn-success') ) - doomed = $("#queueList > tbody > tr:gt(" + ($(this).index() - 1) + ")"); + doomed = $('#queueList > tbody > tr:gt(' + ($(this).index() - 1) + ')'); $.each(doomed, function(){ if($(this).children().last().has("a").length == 0) $(this).children().last().append( - "" + - "delete") + '' + + 'delete') .find('a').fadeTo('fast',1); }); },