update
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
|
||||
function openReservationForm() {
|
||||
document.getElementById("reservationForm").style.display = "block";
|
||||
const now = new Date();
|
||||
const formattedDate = now.toLocaleDateString('cs-CZ', { day: '2-digit', month: '2-digit', year: 'numeric' });
|
||||
document.getElementById('date').value = formattedDate;
|
||||
document.getElementById('reservationForm').style.display = 'block';
|
||||
}
|
||||
|
||||
function closeReservationForm() {
|
||||
document.getElementById("reservationForm").style.display = "none";
|
||||
document.getElementById('reservationForm').style.display = 'none';
|
||||
}
|
||||
Reference in New Issue
Block a user