Opened 14 years ago
Closed 14 years ago
#4986 closed bug (fixed)
Changes to closest (#6507) breaks $(event.target).closest(...)
Reported by: | jollytoad | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The changes applied to closest() in http://dev.jquery.com/changeset/6507 break event handlers that use this pattern:
$('.container').bind('click', function(event) {
$(event.target).closest('.clickable').doSomething();
});
Demo: http://jsbin.com/ataxe
Change History (1)
comment:1 Changed 14 years ago by
Component: | unfilled → core |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 1.3.2 |
Note: See
TracTickets for help on using
tickets.
Backed out in SVN rev [6519].