Incorrect documentation for event.currentTarget
|Reported by:||masklinn||Owned by:||ajpiano|
The documentation for event.currentTarget states:
This property will always be equal to the this of the function.
but it is not the case if jQuery.proxy (or some other form of context-binding) was used. In this case, this will be the bound context while currentTarget will be the element the event was bound on (or for in the case of .live and .delegate).
Change History (3)
comment:1 Changed 6 years ago by ajpiano
- Component changed from unfiled to support
- Keywords needsdoc added
- Owner set to ajpiano
- Priority changed from undecided to low
- Status changed from new to assigned
comment:2 Changed 6 years ago by ajpiano
- Resolution set to fixed
- Status changed from assigned to closed