diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-04-17 12:23:44 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-04-17 12:25:48 -0400 |
commit | 039371c741335d02e7e486420f4a96b43ec2d585 (patch) | |
tree | 09bb5e965fa6fa99984555c5496f74cb9c12cd95 /test/unit/manipulation.js | |
parent | 03db1ada2cc223edf545c5a452e55062647837fa (diff) | |
download | jquery-039371c741335d02e7e486420f4a96b43ec2d585.tar.gz jquery-039371c741335d02e7e486420f4a96b43ec2d585.zip |
Followup #13779: Backwards-compatible unit test
(cherry picked from commit 12a101729086ec1f9b8b029cd66971c11959bc33)
Diffstat (limited to 'test/unit/manipulation.js')
-rw-r--r-- | test/unit/manipulation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 09b425c8a..7f6867489 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 ); }; |