mirror of
https://github.com/go-gitea/gitea
synced 2024-12-13 08:33:09 +01:00
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;
|
||
|
});
|
||
|
}
|
||
|
}
|