summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web_src/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 2f2baddcfb..2b5cc4a529 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -1116,7 +1116,7 @@ function initRepository() {
// Branches
if ($('.repository.settings.branches').length > 0) {
initFilterSearchDropdown('.protected-branches .dropdown');
- $('.enable-protection, .enable-whitelist').change(function () {
+ $('.enable-protection, .enable-whitelist, .enable-statuscheck').change(function () {
if (this.checked) {
$($(this).data('target')).removeClass('disabled');
} else {