aboutsummaryrefslogtreecommitdiff
path: root/public/js/gogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r--public/js/gogs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index 263d83b5..6ce55958 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -1621,11 +1621,13 @@ $(document).ready(function() {
$($(this).data("target")).removeClass("disabled");
} else {
$($(this).data("target")).addClass("disabled");
+ $($(this).data("uncheck")).prop("checked", false);
}
});
$(".enable-system-radio").change(function() {
$($(this).data("enable")).removeClass("disabled");
$($(this).data("disable")).addClass("disabled");
+ $($(this).data("uncheck")).prop("checked", false);
});
// Set anchor.