No need to remove if they ain't nuthin thar

This commit is contained in:
Timmy Willison 2013-07-24 21:21:56 -04:00
parent c8c32f1d05
commit 302f222df0

View File

@ -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();
} }