summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 5c2812b460..b8d6578c34 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -12,7 +12,6 @@ import initContextPopups from './features/contextpopup.js';
import initGitGraph from './features/gitgraph.js';
import initClipboard from './features/clipboard.js';
import initUserHeatmap from './features/userheatmap.js';
-import initDateTimePicker from './features/datetimepicker.js';
import initServiceWorker from './features/serviceworker.js';
import attachTribute from './features/tribute.js';
import createDropzone from './features/dropzone.js';
@@ -755,18 +754,6 @@ async function initRepository() {
// Milestones
if ($('.repository.new.milestone').length > 0) {
- const $datepicker = $('.milestone.datepicker');
-
- await initDateTimePicker($datepicker.data('lang'));
-
- $datepicker.datetimepicker({
- inline: true,
- timepicker: false,
- startDate: $datepicker.data('start-date'),
- onSelectDate(date) {
- $('#deadline').val(date.toISOString().substring(0, 10));
- },
- });
$('#clear-date').on('click', () => {
$('#deadline').val('');
return false;