diff --git a/js/headfoot.js b/js/headfoot.js index cf861a46357e628e6b70fcf2937c62182c277579..2b39c6e54e1f4751c5c0822c3bbf12c32209b126 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";