c/p error
This commit is contained in:
parent
c8bd529173
commit
f52867f2e8
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function selectNode(node) {
|
||||||
let selection = window.getSelection();
|
let selection = window.getSelection();
|
||||||
selection.removeAllRanges();
|
selection.removeAllRanges();
|
||||||
let range = document.createRange();
|
let range = document.createRange();
|
||||||
range.selectNode(copyNode);
|
range.selectNode(node);
|
||||||
selection.addRange(range);
|
selection.addRange(range);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue