diff --git a/src/components/main/MainEventCalendar.vue b/src/components/main/MainEventCalendar.vue index f7d4360..ac549aa 100644 --- a/src/components/main/MainEventCalendar.vue +++ b/src/components/main/MainEventCalendar.vue @@ -342,6 +342,11 @@ useFilterEventList(month, day); }; + // 오늘 날짜 노란색 복구 + const colorToday = e => { + if (todayEL != null && !todayEL.classList.contains('fc-day-today')) todayEL.classList.add('fc-day-today'); + }; + // 이벤트 모달 핸들러 const handleMouseDown = (date, jsEvent) => { if (showModal.value) showModal.value = false; @@ -572,6 +577,7 @@ // 스크롤 감지 이벤트 리스너 window.addEventListener('wheel', handleWheelEvent); + window.addEventListener('click', colorToday); });