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;
});
}
}