From 6f3a8ec847700e41bc7078e2216b5ac72f43ef04 Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Tue, 22 Oct 2019 15:23:41 +0200
Subject: [PATCH] test dynamic header

---
 js/headfoot.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/headfoot.js b/js/headfoot.js
index 58ed442..1015f0d 100755
--- a/js/headfoot.js
+++ b/js/headfoot.js
@@ -39,7 +39,7 @@ function readCookie(cname) {
 }
 
 function sendRequest(URL){
-    console.log(docuemnt.cookie);
+    console.log(document.cookie);
     let xhr = new XMLHttpRequest();
     xhr.open("POST", URL, true);
     let token = readCookie("XSRF-TOKEN");
-- 
GitLab