diff --git a/kanblendar.js b/kanblendar.js index c965c58..d207c6f 100644 --- a/kanblendar.js +++ b/kanblendar.js @@ -249,7 +249,6 @@ class Kanblendar { if (dropTarget.classList.contains('kanblendar-time-slot') || dropTarget.classList.contains('kanblendar-non-timed-tasks')) { dropTarget.appendChild(task); - this.emitTaskMovedEvent(task, dropTarget); this.emitTaskChangedEvent('move', task); } @@ -441,16 +440,6 @@ class Kanblendar { } } - emitTaskMovedEvent(task, target) { - const event = new CustomEvent('taskMoved', { - detail: { - taskId: task.id, - newParent: target.id - } - }); - document.dispatchEvent(event); - } - adjustTimeSlotHeights() { const timeSlotMap = new Map(); let maxNonTimedHeight = 0;