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:
parent
b9884940ef
commit
a3b2f32a2a
10 changed files with 19 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue