mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-15 16:29:29 +00:00
Hide postprocessing settings if is not enabled
This commit is contained in:
parent
1bb981b289
commit
b616ec76e0
1 changed files with 15 additions and 0 deletions
|
@ -2217,6 +2217,21 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if ($('#settings_use_postprocessing').data("postprocessing") === "True") {
|
||||||
|
$('.postprocessing').show();
|
||||||
|
} else {
|
||||||
|
$('.postprocessing').hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#settings_use_postprocessing').checkbox({
|
||||||
|
onChecked: function() {
|
||||||
|
$('.postprocessing').show();
|
||||||
|
},
|
||||||
|
onUnchecked: function() {
|
||||||
|
$('.postprocessing').hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if ($('#settings_upgrade_subs').data("upgrade") === "True") {
|
if ($('#settings_upgrade_subs').data("upgrade") === "True") {
|
||||||
$('.upgrade_subs').show();
|
$('.upgrade_subs').show();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue