mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
No need to remove if they ain't nuthin thar
This commit is contained in:
parent
353fe2a749
commit
755e46522d
@ -518,7 +518,8 @@ jQuery.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
parsed = jQuery.buildFragment( [ data ], context, scripts );
|
parsed = jQuery.buildFragment( [ data ], context, scripts );
|
||||||
if ( scripts ) {
|
|
||||||
|
if ( scripts && scripts.length ) {
|
||||||
jQuery( scripts ).remove();
|
jQuery( scripts ).remove();
|
||||||
}
|
}
|
||||||
return jQuery.merge( [], parsed.childNodes );
|
return jQuery.merge( [], parsed.childNodes );
|
||||||
|
Loading…
Reference in New Issue
Block a user