Modify ↓
Ticket #11208 (closed bug: invalid)
relatedTarget is null on mouseleave event
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Using jQuery v1.5.2
Getting exception:
0x800a138f - JavaScript runtime error: Unable to get value of the property 'parentNode': object is null or undefined File: jquery.js, line: 2788 column: 3
Shouldn't there be a null check for event.relatedTarget upfront, rather than leave it to be dereferenced and hit object null or undefined exception.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

#11209 is a duplicate of this ticket.