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

sync updates

This commit is contained in:
Luke Pulverenti 2015-01-23 01:15:15 -05:00
parent 2ab7e15656
commit 9b452f3b53
85 changed files with 421 additions and 505 deletions

View file

@ -30,7 +30,7 @@
html += LibraryBrowser.getPosterViewHtml({
items: recommendation.Items,
lazy: true,
shape: 'homePagePortrait',
shape: 'portrait',
overlayText: true
});
html += '</div>';
@ -38,7 +38,13 @@
return html;
}
$(document).on('pagebeforeshow', "#moviesRecommendedPage", function () {
$(document).on('pageinit', "#moviesRecommendedPage", function () {
var page = this;
$('.recommendations', page).createCardMenus();
}).on('pagebeforeshow', "#moviesRecommendedPage", function () {
var parentId = LibraryMenu.getTopParentId();
@ -72,12 +78,12 @@
$('#resumableItems', page).html(LibraryBrowser.getPosterViewHtml({
items: result.Items,
preferBackdrop: true,
shape: 'homePageBackdrop',
shape: 'backdrop',
overlayText: true,
showTitle: true,
lazy: true
})).trigger('create').createCardMenus();
})).lazyChildren().trigger('create');
});
@ -103,7 +109,7 @@
var html = recommendations.map(getRecommendationHtml).join('');
$('.noItemsMessage', page).hide();
$('.recommendations', page).html(html).trigger('create').createCardMenus();
$('.recommendations', page).html(html).lazyChildren();
});
});