mirror of
https://github.com/jquery/jquery.git
synced 2026-02-05 19:14:59 -05:00
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user