Any event handlers that follow this pattern no longer work:
$('.container').bind('click', function(event) {
$(event.target).closest('.clickable').doSomething();
});
as the context is set to event.target
Demo:
http://jsbin.com/ataxe
Ticket:
http://dev.jquery.com/ticket/4986
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---