Skip to content

Commit

Permalink
Remove mention of removed API Event#current_target
Browse files Browse the repository at this point in the history
This API was removed in 4ad49e5.
  • Loading branch information
latortuga authored Sep 22, 2020
1 parent 8ce0e0d commit f66be3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ Methods that are mapped using `map_motion` accept an `event` parameter which is
event.target

# Motion::Element instance, the element with the event handler and the `data-motion` attribute
element = event.current_target
# Alias for #current_target
event.element


Expand Down

0 comments on commit f66be3d

Please sign in to comment.