diff --git a/css/m4lab.css b/css/m4lab.css
index d9c5c52c57aad57480bad4ba4aab2bb0ada24a41..2ce28fef5c029cb78593b51c9d3ad0de9eb53238 100644
--- a/css/m4lab.css
+++ b/css/m4lab.css
@@ -597,3 +597,7 @@ justify-content:space-evenly;}
width: 80%;
height: 20%;
}
+
+.hidden{
+ display:none;
+}
diff --git a/js/headfoot.js b/js/headfoot.js
index 5dd8e47a2d05d08a24854c1921bf78486876c576..0235686ffbaeba37d4fdce9d260248085d6bf423 100755
--- a/js/headfoot.js
+++ b/js/headfoot.js
@@ -225,7 +225,7 @@ function foot() {
// cookiebanner
let cookiediv = document.createElement("div");
- cookiediv.classList.add("alert", "alert-info", "alert-dismissible", "fade", "cookie-banner" );
+ cookiediv.classList.add("alert", "alert-info", "alert-dismissible", "hidden", "cookie-banner" );
cookiediv.style = "text-align:center;";
cookiediv.id="cookiediv";
cookiediv.innerHTML="Cookie-Benachrichtigung
Diese Webseite nutzt technisch notwendige Session-Cookies und gegebenenfalls Cookies zur Authentifizierung. Mit der Benutzung der Webseite erklären Sie sich damit einverstanden.
Weitere Informationen finden Sie in unserer Datenschutzerklärung "
@@ -243,6 +243,7 @@ function foot() {
function setCookieSeen(){
if (localStorage.getItem("cookieSeen") != "shown") {
+ document.getElementById("cookiediv").classList.remove("hidden");
document.getElementById("cookiediv").classList.add("show");
localStorage.setItem("cookieSeen","shown")
};