X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=src%2Fmanipulation.js;h=3b9aa1462147d665ce9002e6937750869e3ab71b;hp=203d2ef725bbb02e05f2d2217097a77eee15faf6;hb=445fdf720ce26b99aadace85b7ec976f90583c3a;hpb=2a47ceae5b9bdc45fdc890e3cd5ec01c82db1688 diff --git a/src/manipulation.js b/src/manipulation.js index 203d2ef..3b9aa14 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 ) {