From 29f97e8aba64ebc341e69d175d3b873db73c4707 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Mon, 7 Apr 2025 13:10:23 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8B=B9=EC=9D=BC=20=EB=82=A0=EC=A7=9C?= =?UTF-8?q?=EC=97=90=20=EC=9D=B4=EB=B2=A4=ED=8A=B8=20=EC=9E=85=EB=A0=A5=20?= =?UTF-8?q?=ED=9B=84=20=EB=94=94=ED=8F=B4=ED=8A=B8=20=EC=83=89=EA=B9=94=20?= =?UTF-8?q?=EC=97=86=EC=96=B4=EC=A7=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/main/MainEventCalendar.vue | 6 ++++++ 1 file changed, 6 insertions(+) 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); });