From 6296d7a7ffb878dcbc94f87e04d05af42d069499 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Tue, 22 Oct 2019 15:12:18 +0200 Subject: [PATCH] test dynamic header --- js/headfoot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/headfoot.js b/js/headfoot.js index cf861a4..2b39c6e 100755 --- a/js/headfoot.js +++ b/js/headfoot.js @@ -106,7 +106,7 @@ function head(){ headlink.innerHTML="Account"; headlink.href="/account/"; }else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){ - headlink.onclick="sendRequest('./logout');"; + headlink.setAttribute("onclick","sendRequest('./logout');"); headlink.href="#"; headlink.innerHTML="Logout"; -- GitLab