Fixes acceptData defining in the global scope.
This commit is contained in:
parent
57c046f91c
commit
a2aefbf3b1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue