Merge branch 'default-dist' into 'main'
Default dist See merge request PhilippHofer/rot!110
This commit is contained in:
commit
b4dfd00636
@ -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')}`;
|
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;
|
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);
|
},false);
|
||||||
|
|
||||||
choiceObjects[boatSelect.id] = boatChoice;
|
choiceObjects[boatSelect.id] = boatChoice;
|
||||||
|
Loading…
Reference in New Issue
Block a user