From 9ee071b7a1a3ca4bcab6178b9eada4e6b2b8cd36 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Tue, 29 May 2018 18:29:19 +0200 Subject: [PATCH] Fixed issue #5 also in mobile view --- htdocs/js/mpd.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 8478146..a028655 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -277,9 +277,9 @@ function webSocketConnect() { if ( isTouch ) { $('#queueList > tbody > tr > td:last-child').append( - "" + - "delete"); + '' + + 'delete'); } else { $('#queueList > tbody > tr').on({ mouseover: function(){ @@ -292,7 +292,7 @@ function webSocketConnect() { if($(this).children().last().has('a').length == 0) $(this).children().last().append( '' + + 'onclick="trash($(this).parents(\'tr\'));">' + 'delete') .find('a').fadeTo('fast',1); });