mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 12:54:53 -05:00
Fix status check enable (#10341)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
69f80fd9f6
commit
29efa9c3fb
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue