This commit is contained in:
Aevann1 2021-12-05 22:22:57 +02:00
parent 904af5bfd0
commit bbea88ccbc
8 changed files with 28 additions and 25 deletions

View file

@ -8,7 +8,7 @@ report_postModal = function(id) {
this.disabled = true;
var xhr = new XMLHttpRequest();
xhr.open("POST", '/flag/post/'+id, true);
xhr.open("POST", '/report/post/'+id, true);
var form = new FormData()
form.append("formkey", formkey());
form.append("reason", document.getElementById("reason").value);