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
0a670a4635
commit
c5802fc5ab
38 changed files with 224 additions and 162 deletions
|
@ -130,7 +130,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
$(document).on('pageinit', "#songsPage", function () {
|
||||
$(document).on('pageinitdepends', "#songsPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
|
@ -174,7 +174,7 @@
|
|||
reloadItems(page);
|
||||
});
|
||||
|
||||
}).on('pagebeforeshow', "#songsPage", function () {
|
||||
}).on('pageshown', "#songsPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
|
@ -185,8 +185,6 @@
|
|||
|
||||
reloadItems(page);
|
||||
|
||||
}).on('pageshow', "#songsPage", function () {
|
||||
|
||||
updateFilterControls(this);
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue