Commit 6296d7a7 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

test dynamic header

parent 72edc658
Pipeline #121 passed with stage
in 3 seconds
...@@ -106,7 +106,7 @@ function head(){ ...@@ -106,7 +106,7 @@ function head(){
headlink.innerHTML="Account"; headlink.innerHTML="Account";
headlink.href="/account/"; headlink.href="/account/";
}else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){ }else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){
headlink.onclick="sendRequest('./logout');"; headlink.setAttribute("onclick","sendRequest('./logout');");
headlink.href="#"; headlink.href="#";
headlink.innerHTML="Logout"; headlink.innerHTML="Logout";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment