mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 02:04:55 -05:00
Fix #11231, (append|prepend|before|after) w/ array of jQuery objects.
Closes gh-666, thanks to @rkatic!
This commit is contained in:
committed by
Dave Methvin
parent
9c28a320c3
commit
ea9ec95276
@@ -289,6 +289,10 @@ jQuery.fn.extend({
|
||||
},
|
||||
|
||||
domManip: function( args, table, callback ) {
|
||||
|
||||
// Flatten any nested arrays
|
||||
args = [].concat.apply( [], args );
|
||||
|
||||
var results, first, fragment, iNoClone,
|
||||
i = 0,
|
||||
value = args[0],
|
||||
|
||||
Reference in New Issue
Block a user