]> source.dussan.org Git - jquery.git/commitdiff
Followup #13779: Backwards-compatible unit test
authorRichard Gibson <richard.gibson@gmail.com>
Wed, 17 Apr 2013 16:23:44 +0000 (12:23 -0400)
committerRichard Gibson <richard.gibson@gmail.com>
Wed, 17 Apr 2013 16:25:24 +0000 (12:25 -0400)
test/unit/manipulation.js

index a1962df3b933c138517b3339938cb6791c0c28d4..daa822ca73d4d3468ae94461e23ceaaddd7c962d 100644 (file)
@@ -1832,7 +1832,7 @@ test( "remove() in document order #13779", 1, function() {
                cleanData = jQuery.cleanData;
 
        jQuery.cleanData = function( nodes ) {
-               last = nodes[0].textContent;
+               last = jQuery.text( nodes[0] );
                cleanData.call( this, nodes );
        };