diff --git a/js/headfoot.js b/js/headfoot.js
index d4b47a29820090253ac3df5c53e610af2236e664..4c962580b42f7f3aacf3a30f26631273780adfea 100755
--- a/js/headfoot.js
+++ b/js/headfoot.js
@@ -98,6 +98,7 @@ function head(){
                 headlink.innerHTML="Logout";
                 headlink.setAttribute('th:action',"@{logout}");
                 headlink.setAttribute('method',"post");
+                headlink.removeAttribute('href');
             }
             
         }