From 57ba0350471bd85066f9306fee1bcfd24125d8ae Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Tue, 19 May 2020 16:19:33 +0000 Subject: [PATCH] Update headfoot.js, hotfix: removed disclaimer in production version --- js/headfoot.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/headfoot.js b/js/headfoot.js index befd4c6..0611e00 100755 --- a/js/headfoot.js +++ b/js/headfoot.js @@ -48,18 +48,6 @@ function head() { navheader.id = "header"; navheader.classList.add("clear"); - // disclaimer - let alertdiv = document.createElement("div"); - alertdiv.classList.add("alert", "alert-danger", "alert-dismissible", "fade", "show"); - alertdiv.style = "text-align:center;"; - alertdiv.innerHTML="<strong>Disclaimer</strong> This website is under construction and in prototype-phase. It is not for public use." - let alertbutton = document.createElement("button"); - alertbutton.type = "button"; - alertbutton.classList.add("close"); - alertbutton.setAttribute("data-dismiss", "alert"); - alertbutton.innerHTML = "×"; - prependChild(alertdiv, alertbutton); - // navigation header let navbar = document.createElement("nav"); navbar.classList.add("navbar", "navbar-expand-md", "navbar-light"); -- GitLab