fix: typo
This commit is contained in:
parent
d80a18cc59
commit
70132c838a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user