Found a better detect for deleting an expando, added back in removeAttribute as it does work in IE.
This commit is contained in:
parent
9195107dbb
commit
a6f3757d50
3 changed files with 17 additions and 12 deletions
|
@ -569,7 +569,10 @@ jQuery.extend({
|
|||
}
|
||||
|
||||
if ( deleteExpando ) {
|
||||
delete elem[ expando ];
|
||||
delete elem[ jQuery.expando ];
|
||||
|
||||
} else if ( elem.removeAttribute ) {
|
||||
elem.removeAttribute( jQuery.expando );
|
||||
}
|
||||
|
||||
delete cache[ id ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue