Skip to content
Permalink
Browse files
Fixes acceptData defining in the global scope.
  • Loading branch information
rwaldron committed Oct 5, 2010
1 parent 57c046f commit a2aefbf
Showing 1 changed file with 1 addition and 1 deletion.
@@ -121,7 +121,7 @@ jQuery.extend({
// A method for determining if a DOM node can handle the data expando
acceptData: function( elem ) {
if ( elem.nodeName ) {
match = jQuery.noData[ elem.nodeName.toLowerCase() ];
var match = jQuery.noData[ elem.nodeName.toLowerCase() ];

if ( match ) {
return !(match === true || elem.getAttribute("classid") !== match);

0 comments on commit a2aefbf

Please sign in to comment.