=================================================================== RCS file: /cvs/cvs/draft/form.min.js,v retrieving revision 1.97 retrieving revision 1.98 diff -u -p -r1.97 -r1.98 --- draft/form.min.js 2024/03/31 17:05:41 1.97 +++ draft/form.min.js 2024/03/31 17:14:06 1.98 @@ -65,7 +65,7 @@ async function sendData() { const data = JSON.stringify({"add": mail, "sub": subj, "msg": mess, "tok": token}); turnstile.remove(); info.textContent+="Sending..."; - console.log(data); +// console.log(data); fetch("/feedbk/", { headers: { "Content-Type": "application/json" }, credentials: "same-origin", @@ -74,7 +74,7 @@ async function sendData() { body: data }) .then(response => response.json()) - .then(json => info.textContent=json['msg']) + .then(json => info.textContent=parseString(json['msg'])) } }); });