]> source.dussan.org Git - jquery.git/commit
Fix #10563. Ensure event.currentTarget==this if delegated.
authorDave Methvin <dave.methvin@gmail.com>
Mon, 24 Oct 2011 15:17:24 +0000 (11:17 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Mon, 24 Oct 2011 15:18:20 +0000 (11:18 -0400)
commit84d2307e0e20e9245523731a4450314cc0de6a95
tree2490dd7373dd1240a04d98bf9f8a0d9090b778db
parent560c33b395ec809cc296c97cab41244949ec863c
Fix #10563. Ensure event.currentTarget==this if delegated.

Now, event.delegateTarget is always the element where the event was handled, regardless of whether delegated handlers are attached.
src/event.js
test/unit/event.js