diff --git a/js/headfoot.js b/js/headfoot.js index 45fe882d1e5147445f6aa2e4a3191496a00593d9..a1aecda0d2abe814e00e0e53a10639b411e66cc7 100755 --- a/js/headfoot.js +++ b/js/headfoot.js @@ -95,8 +95,7 @@ function head(){ headlink.innerHTML="Account"; headlink.href="/account/"; }else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){ - headlink.setAttribute("th:onclick", "@{/logout}"); - headlink.removeAttribute("href"); + headlink.href="./logout"; headlink.innerHTML="Logout"; }