diff options
Diffstat (limited to 'ext/fg/js/range.js')
-rw-r--r-- | ext/fg/js/range.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fg/js/range.js b/ext/fg/js/range.js index 9a98fb1a..1d6b4e0e 100644 --- a/ext/fg/js/range.js +++ b/ext/fg/js/range.js @@ -62,6 +62,7 @@ class Range { select() { const selection = window.getSelection(); + selection.removeAllRanges(); selection.addRange(this.rng); } |