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-22 15:16:14 -04:00
parent 7e55abc130
commit 3818349496
27 changed files with 510 additions and 443 deletions

View file

@ -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;