Merge branch 'default-dist' into 'main'

Default dist

See merge request PhilippHofer/rot!110
This commit is contained in:
PhilippHofer 2023-11-12 13:18:40 +00:00
commit b4dfd00636

View File

@ -138,6 +138,12 @@ function selectBoatChange() {
const formattedDateTime = `${now.getFullYear()}-${String(now.getMonth() + 1).padStart(2, '0')}-${String(now.getDate()).padStart(2, '0')}T${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}`;
inputElement.value = formattedDateTime;
const distinput = <HTMLInputElement>document.querySelector('#distance_in_km');
distinput.value = "";
const destinput= <HTMLInputElement>document.querySelector('#destination');
destinput.dispatchEvent(new Event('input'));
},false);
choiceObjects[boatSelect.id] = boatChoice;