Skip to content

Commit

Permalink
Added missing parameter in example (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored Feb 8, 2023
1 parent 3f48972 commit 8f8d3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/src/markdown/calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ onDragEnd (ev, event) {
ev.stopPropagation()
this.resetDrag()
},
onDragOver (ev, day, type) {
onDragOver (ev, day, type, resource) {
if (type === 'day') {
ev.preventDefault()
ev.stopPropagation()
Expand All @@ -664,7 +664,7 @@ onDragOver (ev, day, type) {
return this.draggedEvent.date !== day.date && this.draggedEvent.time !== day.time
}
},
onDrop (ev, day, type) {
onDrop (ev, day, type, resource) {
ev.preventDefault()
ev.stopPropagation()
if (type === 'day') {
Expand Down

0 comments on commit 8f8d3b0

Please sign in to comment.