Commit 039371c7 authored by Richard Gibson's avatar Richard Gibson

Followup #13779: Backwards-compatible unit test

(cherry picked from commit 12a10172)
parent 03db1ada
...@@ -1577,7 +1577,7 @@ test( "remove() in document order #13779", 1, function() { ...@@ -1577,7 +1577,7 @@ test( "remove() in document order #13779", 1, function() {
cleanData = jQuery.cleanData; cleanData = jQuery.cleanData;
jQuery.cleanData = function( nodes ) { jQuery.cleanData = function( nodes ) {
last = nodes[0].textContent; last = jQuery.text( nodes[0] );
cleanData.call( this, nodes ); cleanData.call( this, nodes );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment