1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 01:02:19 +00:00

Remove unnecessary jquery from wizard

This commit is contained in:
Halali 2018-10-19 10:33:41 +02:00
parent 5a3875c75e
commit 054202a227

View file

@ -834,8 +834,7 @@
</html> </html>
<script> <script>
$(document).ready(function() {
$(document).ready(function() {
$('.next1').click(function(e) { $('.next1').click(function(e) {
@ -849,9 +848,9 @@
}); });
$('.prev1').click(function(e) { $('.prev1').click(function(m) {
e.preventDefault(); m.preventDefault();
$('#general').addClass('active'); $('#general').addClass('active');
$('#subliminal').removeClass('active'); $('#subliminal').removeClass('active');
@ -917,9 +916,6 @@
$('#settings_use_sonarr').checkbox({ $('#settings_use_sonarr').checkbox({
onChecked: function() { onChecked: function() {
$(".sonarr_hide").show(); $(".sonarr_hide").show();
$('#sonarr_validated').checkbox('uncheck');
$('.form').form('validate form');
$('#loader').removeClass('active');
}, },
onUnchecked: function() { onUnchecked: function() {
$(".sonarr_hide").hide(); $(".sonarr_hide").hide();
@ -930,9 +926,6 @@
$('#settings_use_radarr').checkbox({ $('#settings_use_radarr').checkbox({
onChecked: function() { onChecked: function() {
$(".radarr_hide").show(); $(".radarr_hide").show();
$('#radarr_validated').checkbox('uncheck');
$('.form').form('validate form');
$('#loader').removeClass('active');
}, },
onUnchecked: function() { onUnchecked: function() {
$(".sonarr_hide").hide(); $(".sonarr_hide").hide();