aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorColin Snover <github.com@zetafleet.com>2010-12-22 14:43:17 -0600
committerColin Snover <github.com@zetafleet.com>2010-12-22 14:43:17 -0600
commit445fdf720ce26b99aadace85b7ec976f90583c3a (patch)
treee9c758f6e1d3062d2deb16841fcdd7bca7bad432 /src/manipulation.js
parent2a47ceae5b9bdc45fdc890e3cd5ec01c82db1688 (diff)
downloadjquery-445fdf720ce26b99aadace85b7ec976f90583c3a.tar.gz
jquery-445fdf720ce26b99aadace85b7ec976f90583c3a.zip
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 203d2ef72..3b9aa1462 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -382,7 +382,7 @@ function cloneCopyEvent(orig, ret) {
}
var oldData = jQuery.data( orig[nodeIndex] ),
- curData = jQuery.data( this, jQuery.extend(true, {}, oldData) ),
+ curData = jQuery.data( this, oldData ),
events = oldData && oldData.events;
if ( events ) {