This commit is contained in:
Aevann1 2022-02-01 04:24:01 +02:00
parent 17a08aeb77
commit 527f436544
11 changed files with 16 additions and 16 deletions

View file

@ -8,7 +8,7 @@ function banModal(link, id, name) {
fd.append("formkey", formkey());
const xhr = new XMLHttpRequest();
xhr.open("POST", `/ban_user/${id}?form`, true);
xhr.open("POST", `/ban_user/${id}?form`);
xhr.setRequestHeader('xhr', 'xhr');
xhr.onload = function(){