mirror of
https://github.com/jquery/jquery.git
synced 2026-02-03 19:05:05 -05:00
No need to remove if they ain't nuthin thar
This commit is contained in:
@@ -472,7 +472,7 @@ jQuery.extend({
|
||||
|
||||
parsed = jQuery.buildFragment( [ data ], context, scripts );
|
||||
|
||||
if ( scripts ) {
|
||||
if ( scripts && scripts.length ) {
|
||||
jQuery( scripts ).remove();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user