Remove fix for #9587

This commit is contained in:
Oleg 2012-12-23 21:11:40 +04:00
parent 87a7690afa
commit f66c33d751

View File

@ -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 ) {