This is why you don't do commits when you're tired. Fixing bugs from 5980292856
.
This commit is contained in:
parent
afaae84a7a
commit
ed93204e10
|
@ -15,7 +15,7 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
data: function( elem, name, data ) {
|
||||
if ( jQuery.noData[elem.nodeNode.toLowerCase()] ) {
|
||||
if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
removeData: function( elem, name ) {
|
||||
if ( jQuery.noData[elem.nodeNode.toLowerCase()] ) {
|
||||
if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue