mirror of
https://github.com/SuperBFG7/ympd
synced 2025-01-28 01:44:55 +00:00
Fixed issue #5 also in mobile view
This commit is contained in:
parent
05c80421d1
commit
9ee071b7a1
@ -277,9 +277,9 @@ function webSocketConnect() {
|
|||||||
|
|
||||||
if ( isTouch ) {
|
if ( isTouch ) {
|
||||||
$('#queueList > tbody > tr > td:last-child').append(
|
$('#queueList > tbody > tr > td:last-child').append(
|
||||||
"<a class=\"pull-right btn-group-hover color-darkgrey\" href=\"#/\" " +
|
'<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>");
|
'<span class="material-icons">delete</span></a>');
|
||||||
} else {
|
} else {
|
||||||
$('#queueList > tbody > tr').on({
|
$('#queueList > tbody > tr').on({
|
||||||
mouseover: function(){
|
mouseover: function(){
|
||||||
@ -292,7 +292,7 @@ function webSocketConnect() {
|
|||||||
if($(this).children().last().has('a').length == 0)
|
if($(this).children().last().has('a').length == 0)
|
||||||
$(this).children().last().append(
|
$(this).children().last().append(
|
||||||
'<a class="pull-right btn-group-hover color-darkgrey" href="#/queue/' + pagination + '" ' +
|
'<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>')
|
'<span class="material-icons">delete</span></a>')
|
||||||
.find('a').fadeTo('fast',1);
|
.find('a').fadeTo('fast',1);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user