summaryrefslogtreecommitdiffstats
path: root/public/js/gogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r--public/js/gogs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index 59cdf5d668..d38e8976f4 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -238,6 +238,7 @@ function initRepository() {
$('.edit-label-button').click(function () {
$('#label-modal-id').val($(this).data('id'));
$('.edit-label .new-label-input').val($(this).data('title'));
+ $('.edit-label .color-picker').val($(this).data('color'));
$('.minicolors-swatch-color').css("background-color", $(this).data('color'));
$('.edit-label.modal').modal({
onApprove: function () {