Unknwon 10 жил өмнө
parent
commit
cf7ebfbdc8

+ 7 - 2
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');
+        }
     })
 }
 

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/ng/js/min/gogs-min.js


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно