mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 17:05:50 +01:00
Fix delete branch confirmation message
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$('.delete-branch').click(function(e){
|
$('.delete-branch').click(function(e){
|
||||||
var branchName = $(e.target).data('name');
|
var branchName = $(e.target).closest('a').data('name');
|
||||||
return confirm('Are you sure you want to remove the ' + branchName + ' branch?');
|
return confirm('Are you sure you want to remove the ' + branchName + ' branch?');
|
||||||
});
|
});
|
||||||
$('*[data-toggle=tooltip]').tooltip().css("white-space","nowrap");
|
$('*[data-toggle=tooltip]').tooltip().css("white-space","nowrap");
|
||||||
|
|||||||
Reference in New Issue
Block a user