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

lazy load scripts

This commit is contained in:
Luke Pulverenti 2015-05-15 14:07:36 -04:00
parent 91f96dbe68
commit b9884940ef
7 changed files with 14 additions and 8 deletions

View file

@ -221,13 +221,13 @@
});
}
$(document).on('pageinit', "#moviesRecommendedPage", function () {
$(document).on('pageinitdepends', "#moviesRecommendedPage", function () {
var page = this;
$('.recommendations', page).createCardMenus();
}).on('pagebeforeshow', "#moviesRecommendedPage", function () {
}).on('pageshown', "#moviesRecommendedPage", function () {
var parentId = LibraryMenu.getTopParentId();