mirror of
https://github.com/go-gitea/gitea
synced 2024-12-25 18:14:28 +00:00
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
4f64688902
commit
457ee1ab5a
@ -1105,7 +1105,7 @@ function initRepository() {
|
|||||||
// Branches
|
// Branches
|
||||||
if ($('.repository.settings.branches').length > 0) {
|
if ($('.repository.settings.branches').length > 0) {
|
||||||
initFilterSearchDropdown('.protected-branches .dropdown');
|
initFilterSearchDropdown('.protected-branches .dropdown');
|
||||||
$('.enable-protection, .enable-whitelist').change(function () {
|
$('.enable-protection, .enable-whitelist, .enable-statuscheck').change(function () {
|
||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
$($(this).data('target')).removeClass('disabled');
|
$($(this).data('target')).removeClass('disabled');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user