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:
parent
cc0fd844c3
commit
601e6202e3
77815 changed files with 210644 additions and 107 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue