git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure that live focus and blur events also bind to the regular events, to handle...
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
c6a953b
..
d59533f
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-956,7
+956,14
@@
jQuery.each(["live", "die"], function( i, name ) {
}
preType = type;
}
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
if ( name === "live" ) {
// bind live handler