Skip to content

Commit

Permalink
Merge pull request #624 from blankse/reply
Browse files Browse the repository at this point in the history
Reply on new comment removes create form
  • Loading branch information
XWB authored Nov 29, 2017
2 parents bb78ea8 + 77cdef2 commit be6bd82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/public/js/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
FOS_COMMENT.appendComment(data, that);
that.trigger('fos_comment_new_comment', data);
if (that.data() && that.data().parent !== '') {
that.parents('.fos_comment_comment_form_holder').remove();
that.closest('.fos_comment_comment_form_holder').remove();
}
},
// error
Expand Down

0 comments on commit be6bd82

Please sign in to comment.