Commit 44acd200 authored by Akikonata's avatar Akikonata

changed delete

parent fa62f47c
......@@ -11,10 +11,6 @@ KityMinder.registerModule( "LayoutModule", function () {
return node.getParent().getChildren();
}
} )();
console.log( siblings );
if ( !isAdd && ( siblings.length === 0 || ( !oldParent.getParent() && oldParent !== root ) ) ) {
return false;
}
var parent = isAdd ? node.getParent() : oldParent;
node.setData( "branchheight", defaultHeight + 10 );
if ( isAdd ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment