diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index 86b35a6f0..55a0c25d3 100644 --- a/src/core.js +++ b/src/core.js @@ -472,7 +472,7 @@ jQuery.extend({ parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { + if ( scripts && scripts.length ) { jQuery( scripts ).remove(); } |