This commit is contained in:
Aevann1 2022-01-16 07:53:32 +02:00
parent 7c38dd5294
commit c0f3d5cb68
47 changed files with 119 additions and 95 deletions

View file

@ -21,7 +21,8 @@ function morecomments(cid) {
btn.innerHTML = "Requesting...";
var form = new FormData();
form.append("formkey", formkey());
var xhr = new XMLHttpRequest();
const xhr = new XMLHttpRequest();
xhr.setRequestHeader('Authorization', 'xhr');
xhr.open("post", `/morecomments/${cid}`);
xhr.withCredentials=true;
xhr.onload=function(){