]> source.dussan.org Git - jquery.git/commitdiff
Remove removal of container children through removeChild method
authorOleg <markelog@gmail.com>
Wed, 19 Dec 2012 16:31:36 +0000 (20:31 +0400)
committerOleg <markelog@gmail.com>
Sun, 23 Dec 2012 23:03:19 +0000 (03:03 +0400)
src/manipulation.js

index d2f17b87d89acb066816d6fa50885c896bb6c22a..4b33e64c6ce96115056f236c8234ce6acbac1b16 100644 (file)
@@ -620,11 +620,6 @@ jQuery.extend({
                                        // Fix #12392 for WebKit and IE > 9
                                        tmp.textContent = "";
 
-                                       // Fix #12392 for oldIE
-                                       while ( tmp.firstChild ) {
-                                               tmp.removeChild( tmp.firstChild );
-                                       }
-
                                        // Remember the top-level container for proper cleanup
                                        tmp = container.lastChild;
                                }