1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-28 03:40:26 +00:00

Fix queue pagination

This commit is contained in:
jcorporation 2018-05-31 21:42:39 +01:00
parent 7d5accdb92
commit c5505c728d
2 changed files with 5 additions and 3 deletions

View File

@ -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;

View File

@ -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":