Skip to main content

Bug Tracker

Side navigation

#11208 closed bug (invalid)

Opened January 23, 2012 12:45PM UTC

Closed January 23, 2012 03:54PM UTC

relatedTarget is null on mouseleave event

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

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.

Attachments (0)
Change History (2)

Changed January 23, 2012 03:53PM UTC by dmethvin comment:1

#11209 is a duplicate of this ticket.

Changed January 23, 2012 03:54PM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

jQuery 1.5.2 is an old version, we don't maintain that. If you're seeing the problem with jQuery-git.js then please file a jsFiddle test case.