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
7e55abc130
commit
3818349496
27 changed files with 510 additions and 443 deletions
|
@ -145,13 +145,7 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
window.LiveTvNewRecordingPage = {
|
||||
|
||||
onSubmit: onSubmit
|
||||
|
||||
};
|
||||
|
||||
$(document).on('pageinit', "#liveTvNewRecordingPage", function () {
|
||||
$(document).on('pageinitdepends', "#liveTvNewRecordingPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
|
@ -173,7 +167,9 @@
|
|||
|
||||
});
|
||||
|
||||
}).on('pagebeforeshow', "#liveTvNewRecordingPage", function () {
|
||||
$('.liveTvNewRecordingForm').off('submit', onSubmit).on('submit', onSubmit);
|
||||
|
||||
}).on('pagebeforeshowready', "#liveTvNewRecordingPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue