aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-20 21:35:09 -0500
committerGitHub <noreply@github.com>2021-01-20 21:35:09 -0500
commitad0002d4d853a698d7bd3e5f09e3cb8e8948e2de (patch)
tree00d08ac90574ec78a926b9650a54b0e2ea611101
parent6c81a10e05bfc5fa60a44faabf2c65d8220fb4fe (diff)
Fix TextSourceElement.getNodesInRange not including the element (#1284)
-rw-r--r--ext/fg/js/text-source-element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/text-source-element.js b/ext/fg/js/text-source-element.js
index 43526060..45186636 100644
--- a/ext/fg/js/text-source-element.js
+++ b/ext/fg/js/text-source-element.js
@@ -114,7 +114,7 @@ class TextSourceElement {
}
getNodesInRange() {
- return [];
+ return [this._element];
}
static getElementContent(element) {