This commit is contained in:
Amauri CHAMPEAUX 2023-03-06 11:09:28 +01:00
parent 57810c9caa
commit 2c21bbd192
1 changed files with 2 additions and 4 deletions

View File

@ -965,13 +965,11 @@ var tarteaucitron = {
document.getElementById(id).style[property] = value; document.getElementById(id).style[property] = value;
if (property == "display" && value == "block" && (id == "tarteaucitron" || id == "tarteaucitronAlertBig")) { if (property == "display" && value == "block" && (id == "tarteaucitron" || id == "tarteaucitronAlertBig")) {
document.getElementById(id).style["opacity"] = "0"; document.getElementById(id).style["opacity"] = "1";
/*setTimeout(function() {*/document.getElementById(id).style["opacity"] = "1";/*}, 1);*/
} }
if (property == "display" && value == "block" && id == "tarteaucitronBack") { if (property == "display" && value == "block" && id == "tarteaucitronBack") {
document.getElementById(id).style["opacity"] = "0"; document.getElementById(id).style["opacity"] = "0.7";
/*setTimeout(function() {*/document.getElementById(id).style["opacity"] = "0.7";/*}, 1);*/
} }
} }
} }