mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
DRY out #6514
This commit is contained in:
parent
fb5ef2c4ec
commit
8d3754751d
@ -1066,7 +1066,7 @@ jQuery.each(["live", "die"], function( i, name ) {
|
||||
|
||||
preType = type;
|
||||
|
||||
if ( type === "focus" || type === "blur" || type === "mouseenter" || type === "mouseleave" ) {
|
||||
if ( liveMap[ type ] ) {
|
||||
types.push( liveMap[ type ] + namespaces );
|
||||
type = type + namespaces;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user