diff --git a/src/core/display/Container.js b/src/core/display/Container.js index 5733963..238b544 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -157,7 +157,7 @@ // prevent adding self as child if (child === this) { - return; + return child; } if (index >= 0 && index <= this.children.length)