From 039371c741335d02e7e486420f4a96b43ec2d585 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 (cherry picked from commit 12a101729086ec1f9b8b029cd66971c11959bc33) --- 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 09b425c8..7f686748 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -1577,7 +1577,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.11.4.GIT