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-17 15:50:37 -04:00
parent 0a670a4635
commit c5802fc5ab
38 changed files with 224 additions and 162 deletions

View file

@ -202,7 +202,7 @@
}
}
$(document).on('pageinit', "#tvShowsPage", function () {
$(document).on('pageinitdepends', "#tvShowsPage", function () {
var page = this;
@ -360,7 +360,7 @@
reloadItems(page);
});
}).on('pagebeforeshow', "#tvShowsPage", function () {
}).on('pageshown', "#tvShowsPage", function () {
query.ParentId = LibraryMenu.getTopParentId();
@ -387,8 +387,6 @@
}
});
}).on('pageshow', "#tvShowsPage", function () {
updateFilterControls(this);
});