1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

rework tv tabs

This commit is contained in:
Luke Pulverenti 2015-09-21 13:46:02 -04:00
parent c27e5ffee2
commit 88dc11d90f
19 changed files with 811 additions and 965 deletions

View file

@ -32,7 +32,7 @@
function getSavedQueryKey() {
return getWindowUrl();
return getWindowUrl() + 'genres';
}
function reloadItems(page) {
@ -132,10 +132,11 @@
});
}
$(document).on('pagebeforeshow', "#tvGenresPage", function () {
window.TvPage.renderGenresTab = function (page, tabContent) {
var page = this;
reloadItems(page);
});
if (LibraryBrowser.needsRefresh(tabContent)) {
reloadItems(tabContent);
}
};
})(jQuery, document);