6 lines
127 B
JavaScript
6 lines
127 B
JavaScript
|
if (document.querySelector("[datetimepicker]")) {
|
||
|
flatpickr("[datetimepicker]", {
|
||
|
allowInput: true,
|
||
|
}); // flatpickr
|
||
|
}
|