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:28:34 -04:00
parent b9884940ef
commit a3b2f32a2a
10 changed files with 19 additions and 15 deletions

View file

@ -74,7 +74,7 @@
$('#selectPageSize', page).val(query.Limit).selectmenu('refresh');
}
$(document).on('pageinit', "#liveTvChannelsPage", function () {
$(document).on('pageinitdepends', "#liveTvChannelsPage", function () {
var page = this;
@ -109,7 +109,7 @@
reloadItems(page);
});
}).on('pageshow', "#liveTvChannelsPage", function () {
}).on('pageshown', "#liveTvChannelsPage", function () {
// Can't use pagebeforeshow here or the loading popup won't center correctly
var page = this;