1
0
Fork 0
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:
Luke Pulverenti 2015-10-15 00:32:10 -04:00
parent 146e2688fe
commit 80929558e6
31 changed files with 54 additions and 35 deletions

View file

@ -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 () {