Skip to main content

Bug Tracker

Side navigation

Ticket #1736: 1736.diff
File 1736.diff, 0.4 KB (added by brandon, September 27, 2007 01:50PM UTC)

Patch to remove clone from wrapAll

Index: src/core.js
===================================================================
--- src/core.js	(revision 3483)
+++ src/core.js	(working copy)
@@ -213,7 +213,6 @@
 		if ( this[0] )
 			// The elements to wrap the target around
 			jQuery( html, this[0].ownerDocument )
-				.clone()
 				.insertBefore( this[0] )
 				.map(function(){
 					var elem = this;

Download in other formats:

Original Format