mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync process
This commit is contained in:
parent
cc428aac1d
commit
504384e83d
109 changed files with 553 additions and 289 deletions
|
@ -141,10 +141,24 @@
|
|||
});
|
||||
}
|
||||
|
||||
window.HomePage.renderFavorites = function (page, tabContent) {
|
||||
if (LibraryBrowser.needsRefresh(tabContent)) {
|
||||
loadSections(tabContent, Dashboard.getCurrentUserId());
|
||||
function initHomePage() {
|
||||
|
||||
window.HomePage.renderFavorites = function (page, tabContent) {
|
||||
if (LibraryBrowser.needsRefresh(tabContent)) {
|
||||
loadSections(tabContent, Dashboard.getCurrentUserId());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
initHomePage();
|
||||
|
||||
pageIdOn('pageshow', "favoritesPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
if (LibraryBrowser.needsRefresh(page)) {
|
||||
loadSections(page, Dashboard.getCurrentUserId());
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
})(jQuery, document);
|
Loading…
Add table
Add a link
Reference in a new issue