forked from MarseyWorld/MarseyWorld
same as last commit
parent
4e220c917a
commit
e221e7548f
|
@ -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);
|
||||
})
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue