mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 06:34:25 +00:00
f2a6df03d9
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;
|
|
});
|
|
}
|
|
}
|