Browse Source

mirror fix on release JS

pull/731/head
Unknwon 10 years ago
parent
commit
cf7ebfbdc8
  1. 9
      public/ng/js/gogs.js
  2. 6
      public/ng/js/min/gogs-min.js

9
public/ng/js/gogs.js

@ -435,8 +435,13 @@ function initHookTypeChange() {
function initRepoRelease() {
$('#release-new-target-branch-list li').click(function() {
$('#repo-branch-current').text($(this).text());
$('#tag-target').val($(this).text());
if (!$(this).hasClass('checked')) {
$('#repo-branch-current').text($(this).text());
$('#tag-target').val($(this).text());
$(this).parent().find('.checked').removeClass('checked');
$(this).addClass('checked');
}
})
}

6
public/ng/js/min/gogs-min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save