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 John Resig
parent 21c0be8496
commit d46042e050
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;