]> source.dussan.org Git - jquery.git/commitdiff
Remove fix for #9587
authorOleg <markelog@gmail.com>
Sun, 23 Dec 2012 17:11:40 +0000 (21:11 +0400)
committerOleg <markelog@gmail.com>
Sun, 23 Dec 2012 23:04:30 +0000 (03:04 +0400)
src/manipulation.js

index 85807a550326867ab76915ca6d3922bb107a0027..7b3676a4a55dbbaefceef56436e6e087e5b51945 100644 (file)
@@ -386,10 +386,7 @@ jQuery.extend({
                        srcElements = getAll( elem );
 
                        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 ] );
                        }
                }