Aevann 2023-04-27 19:23:01 +02:00
parent 703996c192
commit 4e220c917a
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ function report_commentModal(id, author) {
reason_comment.focus() reason_comment.focus()
}, 500); }, 500);
reportCommentButton.addEventListener('click', function() { reportCommentButton.onclick = function() {
this.innerHTML='Reporting comment'; this.innerHTML='Reporting comment';
postToast(this, `/report/comment/${id}`, postToast(this, `/report/comment/${id}`,
@ -34,7 +34,7 @@ function report_commentModal(id, author) {
}, },
() => {} () => {}
); );
}) }
}; };
// Returns the selection text based on the range with the HTML // Returns the selection text based on the range with the HTML