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