Commit 8e87eb5e authored by Akikonata's avatar Akikonata

Merge branch 'dev' of https://github.com/kitygraph/kityminder into dev

parents 4f2c9226 60da728d
......@@ -22,6 +22,6 @@
</div>
</body>
<script>
KM.getKityMinder('kityminder');
var km = KM.getKityMinder('kityminder');
</script>
</html>
\ No newline at end of file
......@@ -227,7 +227,7 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
},
clone: function () {
function cloneNode( parent, isClonedNode ) {
var _tmp = new KM.MinderNode();
var _tmp = new KM.MinderNode(isClonedNode.getText());
_tmp.data = Utils.clonePlainObject( isClonedNode.getData() );
_tmp.parent = parent;
......
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