git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a problem with multi-namespaced events not targetting the correct functions...
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
c625d85
..
685ca2b
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-482,7
+482,7
@@
jQuery.fn = jQuery.prototype = {
if ( data === undefined && this.length )
data = jQuery.data( this[0], key );
if ( data === undefined && this.length )
data = jQuery.data( this[0], key );
- return data === undefined && parts[1] ?
+ return data == null && parts[1] ?
this.data( parts[0] ) :
data;
} else
this.data( parts[0] ) :
data;
} else