Calendar: Fix drag and drop to move event in Firefox

This commit is contained in:
nathan 2023-01-25 11:25:00 -07:00
parent ad05cd493e
commit 71f4a93d56

View File

@ -361,7 +361,7 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet
// Cancel drag to create, we're dragging an existing event
timegrid.drag_create.start = null;
timegrid._drag_create_end();
timegrid.div.on("drag.timegrid", (e) =>
timegrid.div.on("dragover.timegrid", (e) =>
{
timegrid._get_time_from_position(e.clientX, e.clientY);
})