mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-28 03:40:26 +00:00
Fix queue pagination
This commit is contained in:
parent
7d5accdb92
commit
c5505c728d
@ -21,12 +21,10 @@ body {
|
|||||||
width: 104px;
|
width: 104px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
button {
|
button {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#browseBreadcrumb {
|
#browseBreadcrumb {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@ -1000,7 +1000,11 @@ function gotoPage(x,element,event) {
|
|||||||
if ($('#searchqueuestr').val().length >=3) {
|
if ($('#searchqueuestr').val().length >=3) {
|
||||||
doQueueSearch();
|
doQueueSearch();
|
||||||
} else {
|
} else {
|
||||||
app.setLocation('#/queue/'+pagination);
|
var mpdtag='Any Tag';
|
||||||
|
$('#searchqueuetag > button').each(function() {
|
||||||
|
if ($(this).hasClass('btn-success')) { mpdtag=$(this).text(); }
|
||||||
|
});
|
||||||
|
app.setLocation('#/queue/'+pagination+'/'+mpdtag+'/');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "search":
|
case "search":
|
||||||
|
Loading…
Reference in New Issue
Block a user