Hide postprocessing settings if is not enabled

This commit is contained in:
Halali 2019-03-26 20:40:41 +01:00
parent 1bb981b289
commit b616ec76e0
1 changed files with 15 additions and 0 deletions

View File

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