From f2148e4451b32722b985abdd76744767c7400146 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Tue, 22 Oct 2019 13:23:19 +0200 Subject: [PATCH] test dynamic header --- js/headfoot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/headfoot.js b/js/headfoot.js index d3b4c84..d4b47a2 100755 --- a/js/headfoot.js +++ b/js/headfoot.js @@ -96,8 +96,8 @@ function head(){ headlink.href="/account/"; }else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){ headlink.innerHTML="Logout"; - headlink.setAttribute('th:action') = "@{logout}"; - headlink.setAttribute('method') = "post"; + headlink.setAttribute('th:action',"@{logout}"); + headlink.setAttribute('method',"post"); } } -- GitLab