forked from rDrama/rDrama
parent
703996c192
commit
4e220c917a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue