Fixes acceptData defining in the global scope.

This commit is contained in:
rwldrn 2010-10-05 10:32:57 -04:00
parent 57c046f91c
commit a2aefbf3b1

View file

@ -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);