diff --git a/js/headfoot.js b/js/headfoot.js
index d3b4c84068dda8b4268cd2617678912efe043648..d4b47a29820090253ac3df5c53e610af2236e664 100755
--- a/js/headfoot.js
+++ b/js/headfoot.js
@@ -96,8 +96,8 @@ function head(){
                 headlink.href="/account/";
             }else if(document.getElementById('loginswitch').getAttribute('authenticated') == '2'){
                 headlink.innerHTML="Logout";
-                headlink.setAttribute('th:action') = "@{logout}";
-                headlink.setAttribute('method') = "post";
+                headlink.setAttribute('th:action',"@{logout}");
+                headlink.setAttribute('method',"post");
             }
             
         }