mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 09:17:47 +08: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") {
|
||||
$('.upgrade_subs').show();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue