mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Make sure that the correct type is set for live mouseenter/mouseleave events. Fixes #6169.
This commit is contained in:
parent
26b0e913dd
commit
28b489bfc8
@ -1022,6 +1022,7 @@ function liveHandler( event ) {
|
||||
|
||||
// Those two events require additional checking
|
||||
if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) {
|
||||
event.type = handleObj.preType;
|
||||
related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user