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

get icons, swipebox through bower

This commit is contained in:
Luke Pulverenti 2015-06-29 22:52:23 -04:00
parent cc0fd844c3
commit 601e6202e3
77815 changed files with 210644 additions and 107 deletions

View file

@ -5,14 +5,12 @@
return 'Thumb';
}
$(document).on('pagebeforeshowready', "#tvNextUpPage", function () {
function loadLatest(page) {
var userId = Dashboard.getCurrentUserId();
var parentId = LibraryMenu.getTopParentId();
var page = this;
var limit = 30;
if (AppInfo.hasLowImageBandwidth) {
@ -71,6 +69,14 @@
elem.innerHTML = html;
ImageLoader.lazyChildren(elem);
});
}
$(document).on('pagebeforeshowready', "#tvNextUpPage", function () {
var page = this;
if (NavHelper.needsRefresh(page)) {
loadLatest(page);
}
});