mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-06 19:36:30 +02:00
Make icon-remove-circle of dropdown menu unclickable
This commit is contained in:
@@ -96,7 +96,7 @@ $(function(){
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$('i.icon-remove-circle').click(function(){
|
||||
$('.issue-comment-box i.icon-remove-circle').click(function(){
|
||||
if(confirm('Are you sure you want to delete this?')) {
|
||||
var id = $(this).closest('a').data('comment-id');
|
||||
$.post('@url(repository)/issue_comments/delete/' + id,
|
||||
|
||||
Reference in New Issue
Block a user