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

update page caching

This commit is contained in:
Luke Pulverenti 2015-06-30 01:45:20 -04:00
parent b038bc1785
commit a81a127cc6
15 changed files with 72 additions and 55 deletions

View file

@ -56,13 +56,15 @@
Dashboard.hideLoadingMsg();
LibraryBrowser.setLastRefreshed(page);
});
}
$(document).on('pagebeforeshowready', "#tvUpcomingPage", function () {
var page = this;
if (NavHelper.needsRefresh(page)) {
if (LibraryBrowser.needsRefresh(page)) {
loadUpcoming(page);
}
});