Fix live mouseenter and mouseleave binding so they can be activated by triggers. Fixes #6514.

This commit is contained in:
Brian Brennan 2011-04-17 11:58:20 -07:00 committed by timmywil
parent 230a50ff1c
commit 3cb9c1835c
2 changed files with 20 additions and 3 deletions

View file

@ -1066,7 +1066,7 @@ jQuery.each(["live", "die"], function( i, name ) {
preType = type;
if ( type === "focus" || type === "blur" ) {
if ( type === "focus" || type === "blur" || type === "mouseenter" || type === "mouseleave" ) {
types.push( liveMap[ type ] + namespaces );
type = type + namespaces;