2002/09/15 23:36:01
[org.ibex.core.git] / src / org / xwt / Box.java
index d380b45..4c2e1b4 100644 (file)
@@ -1105,7 +1105,7 @@ public final class Box extends JSObject {
                 }
 
             if (numKids > 15 && children == null) convert_to_array();
-            if (newnode.parent != null) newnode.remove();
+            newnode.remove();
             newnode.parent = this;
             
             if (children == null) {