mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix status check enable (#10341)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user