mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Only move code, no unnecessary logic change. (There are many problems in old code, but changing them is not in this PR's scope) Co-authored-by: Giteabot <teabot@gitea.io>
		
			
				
	
	
		
			12 lines
		
	
	
		
			235 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			235 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import $ from 'jquery';
 | |
| 
 | |
| export function initRepoMilestone() {
 | |
|   // Milestones
 | |
|   if ($('.repository.new.milestone').length > 0) {
 | |
|     $('#clear-date').on('click', () => {
 | |
|       $('#deadline').val('');
 | |
|       return false;
 | |
|     });
 | |
|   }
 | |
| }
 |