diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-07-24 21:21:56 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-07-24 21:31:07 -0400 |
commit | 302f222df03d2c65f409b11b7fa65dba5400180f (patch) | |
tree | 3b68480d54cb98a9c6ceeb61d777961af5f41eee /src | |
parent | c8c32f1d0583711355c593fb4c84332bfba18254 (diff) | |
download | jquery-302f222df03d2c65f409b11b7fa65dba5400180f.tar.gz jquery-302f222df03d2c65f409b11b7fa65dba5400180f.zip |
No need to remove if they ain't nuthin thar
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(); } |