summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2020-02-18 12:58:16 -0600
committerGitHub <noreply@github.com>2020-02-18 12:58:16 -0600
commit29efa9c3fb47a00f03bf5d2fdcacd004dc790290 (patch)
treed4aa4a037646d0e89c29d0fab90ea1a604319b9f /web_src
parent69f80fd9f69c08b2320523adc99c9257df52108d (diff)
downloadgitea-29efa9c3fb47a00f03bf5d2fdcacd004dc790290.tar.gz
gitea-29efa9c3fb47a00f03bf5d2fdcacd004dc790290.zip
Fix status check enable (#10341)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'web_src')
-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 {