mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Remove fix for #9587
This commit is contained in:
parent
87a7690afa
commit
f66c33d751
@ -386,12 +386,9 @@ jQuery.extend({
|
|||||||
srcElements = getAll( elem );
|
srcElements = getAll( elem );
|
||||||
|
|
||||||
for ( i = 0; ( node = srcElements[ i ] ) != null; ++i ) {
|
for ( i = 0; ( node = srcElements[ i ] ) != null; ++i ) {
|
||||||
// Ensure that the destination node is not null; Fixes #9587
|
|
||||||
if ( destElements[ i ] ) {
|
|
||||||
fixCloneNodeIssues( node, destElements[ i ] );
|
fixCloneNodeIssues( node, destElements[ i ] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Copy the events from the original to the clone
|
// Copy the events from the original to the clone
|
||||||
if ( dataAndEvents ) {
|
if ( dataAndEvents ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user