c/p error

This commit is contained in:
Bruno Windels 2020-12-04 16:01:51 +01:00
parent c8bd529173
commit f52867f2e8

View file

@ -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);
} }