mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 09:09:02 +00:00
mirror fix on release JS
This commit is contained in:
parent
bc8721fb6c
commit
cf7ebfbdc8
|
@ -435,8 +435,13 @@ function initHookTypeChange() {
|
||||||
|
|
||||||
function initRepoRelease() {
|
function initRepoRelease() {
|
||||||
$('#release-new-target-branch-list li').click(function() {
|
$('#release-new-target-branch-list li').click(function() {
|
||||||
$('#repo-branch-current').text($(this).text());
|
if (!$(this).hasClass('checked')) {
|
||||||
$('#tag-target').val($(this).text());
|
$('#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
6
public/ng/js/min/gogs-min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue