header bug aperçu

This commit is contained in:
Fred Tempez 2021-11-16 12:23:26 +01:00
parent ca1c1d1d73
commit c9fd1bc17b

View File

@ -217,15 +217,18 @@ $("#themeHeaderPosition").on("change", function() {
$("#themeHeaderContainerWrapper").slideUp();
$("#themeHeaderPositionOptions").slideDown();
$("#themeHeaderWideWrapper").slideUp();
$("#themeHeaderMarginWrapper").slideDown();
}
else if ($(this).val() === 'hide') {
$("#themeHeaderContainerWrapper").slideUp();
$("#themeHeaderWideWrapper").slideUp();
$("#themeHeaderMarginWrapper").slideUp();
$("#themeHeaderPositionOptions").slideUp(function() {
$("#themeHeaderMargin").prop("checked", false).trigger("change");
});
} else {
$("#themeHeaderWideWrapper").slideDown();
$("#themeHeaderMarginWrapper").slideUp();
}
}).trigger("change");