From ac3f74581e1e101422fd2ee41d54019517e5497b Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 10 Nov 2021 14:59:34 +0100 Subject: [PATCH] Supprimer attribut style --- core/module/theme/view/header/header.js.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/module/theme/view/header/header.js.php b/core/module/theme/view/header/header.js.php index 06a50068..098af0cd 100644 --- a/core/module/theme/view/header/header.js.php +++ b/core/module/theme/view/header/header.js.php @@ -27,11 +27,11 @@ $("input, select").on("change", function() { css += "header{height:" + $("#themeHeaderHeight").val() + ";}"; $("#featureContent").appendTo("#headerContainer").show(); $("#themeHeaderTitle").hide(); - $("header").css("background-color", ""); - $("header").css("background-image", "none"); - $("header").css("height", ""); - $("header").css("line-height", "1.5"); - $("header").css("text-align", ""); + //$("header").css("background-color", ""); + //$("header").css("background-image", "none"); + $("header").removeAttr("style"); + //$("header").css("line-height", "1.5"); + //$("header").css("text-align", ""); }