fix: typo

This commit is contained in:
cha0s 2019-04-19 01:33:01 -05:00
parent d80a18cc59
commit 70132c838a

View File

@ -17,7 +17,7 @@ export class TextNode {
}
clone() {
const clone = new Node();
const clone = new TextNode();
clone.div = this.div.cloneNode(true);
clone.span = clone.div.children[0];
return clone;