mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Calendar: Fix ignoring drag for events
Clicking inside the time was not ignored, causing a drag to be started
This commit is contained in:
parent
c170c44168
commit
16c9f5ef1d
@ -2072,7 +2072,7 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Skip for events
|
// Skip for events
|
||||||
if(event.target.parentElement.classList.contains("calendar_calEvent"))
|
if(event.target.closest(".calendar_calEvent"))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user