mirror of
https://github.com/go-gitea/gitea
synced 2024-12-12 05:53:07 +01: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>
11 lines
235 B
TypeScript
11 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;
|
|
});
|
|
}
|
|
}
|