Skip to content

Commit

Permalink
Fix status check enable (go-gitea#10341)
Browse files Browse the repository at this point in the history
Signed-off-by: jolheiser <john.olheiser@gmail.com>
  • Loading branch information
jolheiser committed Feb 18, 2020
1 parent 69f80fd commit 29efa9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/index.js
Expand Up @@ -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 {
Expand Down

0 comments on commit 29efa9c

Please sign in to comment.