Followup #13779: Backwards-compatible unit test

This commit is contained in:
Richard Gibson 2013-04-17 12:23:44 -04:00
parent 0100becc91
commit 12a1017290

View 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 );
};