X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=196f2307202eb98c34a820583126de627bcfb082;hb=a6f3757d50f8be021505f4f7fa7201199e8b7f2d;hp=4eb19eaf0271b5b84796d1fe195f9b793d9ddefc;hpb=9195107dbb13ad34ae4e9f7cb1df5d79e4748560;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 4eb19ea..196f230 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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 ];