mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
ESLINT: Addressed remaining detected issues
This commit is contained in:
@ -100,7 +100,7 @@ export class PageComments extends Component {
|
||||
deleteComment(commentElem) {
|
||||
const id = commentElem.getAttribute('comment');
|
||||
this.showLoading(commentElem.querySelector('[comment-content]'));
|
||||
window.$http.delete(`/comment/${id}`).then(resp => {
|
||||
window.$http.delete(`/comment/${id}`).then(() => {
|
||||
commentElem.parentNode.removeChild(commentElem);
|
||||
window.$events.success(this.deletedText);
|
||||
this.updateCount();
|
||||
|
Reference in New Issue
Block a user