mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
No need to remove if they ain't nuthin thar
This commit is contained in:
parent
c8c32f1d05
commit
302f222df0
@ -472,7 +472,7 @@ 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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user