공휴일에는 이벤트 못넣게 수정
This commit is contained in:
parent
0f1b3fb4d7
commit
cf88671869
@ -512,6 +512,7 @@
|
|||||||
|
|
||||||
// 마우스 홀드시 이벤트 모달
|
// 마우스 홀드시 이벤트 모달
|
||||||
dateCell.addEventListener('mousedown', e => {
|
dateCell.addEventListener('mousedown', e => {
|
||||||
|
if (!isSelectableDate(arg.date)) return; // 공휴일 제외
|
||||||
const date = $common.dateFormatter(arg.date, 'YMD');
|
const date = $common.dateFormatter(arg.date, 'YMD');
|
||||||
handleMouseDown(date, e);
|
handleMouseDown(date, e);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user