aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index a7751ac82..3c64105c0 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -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],