mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
enable back button on sort menus
This commit is contained in:
parent
146e2688fe
commit
80929558e6
31 changed files with 54 additions and 35 deletions
|
@ -829,6 +829,16 @@
|
|||
query.StartIndex = 0;
|
||||
reloadItems(page);
|
||||
});
|
||||
|
||||
$(page.getElementsByClassName('viewTabButton')).on('click', function () {
|
||||
|
||||
var parent = $(this).parents('.viewPanel');
|
||||
$('.viewTabButton', parent).removeClass('ui-btn-active');
|
||||
this.classList.add('ui-btn-active');
|
||||
|
||||
$('.viewTab', parent).addClass('hide');
|
||||
$('.' + this.getAttribute('data-tab'), parent).removeClass('hide');
|
||||
});
|
||||
})
|
||||
.on('pageshow', "#libraryReportManagerPage", function () {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue