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:
parent
c27e5ffee2
commit
88dc11d90f
19 changed files with 811 additions and 965 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
function getSavedQueryKey() {
|
||||
|
||||
return getWindowUrl();
|
||||
return getWindowUrl() + 'studios'
|
||||
}
|
||||
|
||||
function reloadItems(page) {
|
||||
|
@ -85,13 +85,11 @@
|
|||
});
|
||||
}
|
||||
|
||||
$(document).on('pagebeforeshow', "#tvStudiosPage", function () {
|
||||
window.TvPage.renderStudiosTab = function (page, tabContent) {
|
||||
|
||||
var page = this;
|
||||
|
||||
if (LibraryBrowser.needsRefresh(page)) {
|
||||
reloadItems(page);
|
||||
if (LibraryBrowser.needsRefresh(tabContent)) {
|
||||
reloadItems(tabContent);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
})(jQuery, document);
|
Loading…
Add table
Add a link
Reference in a new issue