diff options
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index 0c2753e96..930b3d9b9 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -277,13 +277,7 @@ function cloneCopyEvent(orig, ret) { return; } - var events = jQuery.data( orig[i], "events" ); - - for ( var type in events ) { - for ( var handler in events[ type ] ) { - jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data ); - } - } + jQuery.data( this, jQuery.data( orig[i++] ) ); }); } |