Skip to content
Permalink
Browse files

Make sure that the correct type is set for live mouseenter/mouseleave…

… events. Fixes #6169.
  • Loading branch information
jeresig committed Feb 26, 2010
1 parent 26b0e91 commit 28b489bfc8ad240b01e63ed93634f2b8770332a3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/event.js
@@ -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];
}

0 comments on commit 28b489b

Please sign in to comment.
You can’t perform that action at this time.