mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-01 21:29:56 +01:00
Fix comment deletion
This commit is contained in:
@@ -292,7 +292,7 @@ $(function(){
|
||||
if(data > 0) {
|
||||
var comment = $('.commit-comment-' + id).closest('.not-diff');
|
||||
if(comment.prev('.not-diff').length == 0){
|
||||
comment.next('.not-diff').find('.reply-comment').remove();
|
||||
comment.next('.not-diff:has(.reply-comment)').remove();
|
||||
}
|
||||
comment.remove();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user