Added Calendar store

This commit is contained in:
Laurent
2025-03-09 21:44:26 +01:00
parent 0827bf512c
commit 495f83e56c
3 changed files with 38 additions and 4 deletions

View File

@@ -23,9 +23,9 @@
function selectDay(event : Event, day : number | null){
if(!(event.target instanceof HTMLElement) || day == null) return;
event.target.classList.toggle("item-selected");
calendar.setDay(day);
datePicker.select(calendar.getDate());
event.target.classList.toggle("item-selected");
}
function clickPrev(){