c/p error
This commit is contained in:
parent
c8bd529173
commit
f52867f2e8
@ -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 New Issue
Block a user