same as last commit

pull/143/head
Aevann 2023-04-27 19:24:07 +02:00
parent 4e220c917a
commit e221e7548f
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ function report_postModal(id) {
reason_post.focus()
}, 500);
reportPostButton.addEventListener('click', function() {
reportPostButton.onclick = function() {
this.innerHTML='Reporting post';
this.disabled = true;
@ -45,5 +45,5 @@ function report_postModal(id) {
xhr.onerror=function(){alert(errortext)};
xhr.send(form);
})
}
};