mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 05:06:48 +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;
|
||
|
});
|
||
|
}
|
||
|
}
|