From 457ee1ab5a3abf5da16f6f90f5fcc115323af687 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Tue, 18 Feb 2020 13:34:50 -0600 Subject: [PATCH] Fix status check enable (#10341) (#10343) Signed-off-by: jolheiser --- web_src/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index 2e2e1d1e9c..b654af2c73 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1105,7 +1105,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 {