Skip to content
Permalink
Browse files

This is why you don't do commits when you're tired. Fixing bugs from 5…

  • Loading branch information
jeresig committed Dec 7, 2009
1 parent afaae84 commit ed93204e108eb90aa863fbddf8acd992b9d4a1a5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/data.js
@@ -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;
}

0 comments on commit ed93204

Please sign in to comment.
You can’t perform that action at this time.