Side navigation
#4986 closed bug (fixed)
Opened July 28, 2009 11:44AM UTC
Closed July 28, 2009 12:22PM UTC
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:
Attachments (0)
Change History (1)
Changed July 28, 2009 12:22PM UTC by comment:1
component: | unfilled → core |
---|---|
resolution: | → fixed |
status: | new → closed |
version: | → 1.3.2 |
Backed out in SVN rev [6519].