From 12a101729086ec1f9b8b029cd66971c11959bc33 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Wed, 17 Apr 2013 12:23:44 -0400 Subject: [PATCH] Followup #13779: Backwards-compatible unit test --- test/unit/manipulation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index a1962df3b..daa822ca7 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -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 ); }; -- 2.39.5