1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-01-14 03:10:34 +00:00

Fixed issue #5 also in mobile view

This commit is contained in:
jcorporation 2018-05-29 18:29:19 +02:00
parent 05c80421d1
commit 9ee071b7a1

View File

@ -277,9 +277,9 @@ function webSocketConnect() {
if ( isTouch ) {
$('#queueList > tbody > tr > td:last-child').append(
"<a class=\"pull-right btn-group-hover color-darkgrey\" href=\"#/\" " +
"onclick=\"trash($(this).parents('tr'));\">" +
"<span class=\"material-icons\">delete</span></a>");
'<a class="pull-right btn-group-hover color-darkgrey" href="#/queue/' + pagination + '" ' +
'onclick="trash($(this).parents(\'tr\'));">' +
'<span class="material-icons">delete</span></a>');
} 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(
'<a class="pull-right btn-group-hover color-darkgrey" href="#/queue/' + pagination + '" ' +
'onclick="trash($(this).parents(\'tr\'));">' +
'onclick="trash($(this).parents(\'tr\'));">' +
'<span class="material-icons">delete</span></a>')
.find('a').fadeTo('fast',1);
});