diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2022-08-20 11:14:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 11:14:46 -0400 |
commit | 02483a45b1b7fb0654b3f37571b92400b76734a5 (patch) | |
tree | b3b53a2261fbb4d2cfd17cd6105d1ffec74b6594 /ext | |
parent | c331ceae997a49e3c7125853c2225964dc17749b (diff) |
Fix TextSourceElement.getRects (#2177)
Diffstat (limited to 'ext')
-rw-r--r-- | ext/js/dom/text-source-element.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/dom/text-source-element.js b/ext/js/dom/text-source-element.js index 1a842310..264a913e 100644 --- a/ext/js/dom/text-source-element.js +++ b/ext/js/dom/text-source-element.js @@ -95,7 +95,7 @@ class TextSourceElement { } getRects() { - return this.getClientRects(); + return this._element.getClientRects(); } getWritingMode() { |