mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove bundled scripts
This commit is contained in:
parent
90ea727998
commit
dfd651131a
8 changed files with 48 additions and 52 deletions
|
@ -1,6 +1,8 @@
|
|||
(function (window, $) {
|
||||
|
||||
function onSubmit(page) {
|
||||
function onSubmit() {
|
||||
|
||||
var page = $(this).parents('.page');
|
||||
|
||||
if ($('#chkAccept', page).checked()) {
|
||||
Dashboard.navigate('wizardfinish.html');
|
||||
|
@ -11,18 +13,13 @@
|
|||
title: ''
|
||||
});
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
window.WizardAgreementPage = {
|
||||
$(document).on('pageinitdepends', '#wizardAgreementPage', function(){
|
||||
|
||||
onSubmit: function () {
|
||||
|
||||
var page = $(this).parents('.page');
|
||||
|
||||
onSubmit(page);
|
||||
|
||||
return false;
|
||||
}
|
||||
};
|
||||
$('.wizardAgreementForm').off('submit', onSubmit).on('submit', onSubmit);
|
||||
});
|
||||
|
||||
})(window, jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue