0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-13 08:33:09 +01:00
gitea/web_src/js/features/repo-milestone.ts

12 lines
235 B
TypeScript
Raw Normal View History

import $ from 'jquery';
export function initRepoMilestone() {
// Milestones
if ($('.repository.new.milestone').length > 0) {
$('#clear-date').on('click', () => {
$('#deadline').val('');
return false;
});
}
}