mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 03:55:17 -05:00
Make sure that live focus and blur events also bind to the regular events, to handle triggered events. Fixes #6055.
This commit is contained in:
@@ -956,7 +956,14 @@ jQuery.each(["live", "die"], function( i, name ) {
|
||||
}
|
||||
|
||||
preType = type;
|
||||
type = (liveMap[ type ] || type) + namespaces;
|
||||
|
||||
if ( type === "focus" || type === "blur" ) {
|
||||
types.push( liveMap[ type ] + namespaces );
|
||||
type = type + namespaces;
|
||||
|
||||
} else {
|
||||
type = (liveMap[ type ] || type) + namespaces;
|
||||
}
|
||||
|
||||
if ( name === "live" ) {
|
||||
// bind live handler
|
||||
|
||||
Reference in New Issue
Block a user