From 02483a45b1b7fb0654b3f37571b92400b76734a5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 20 Aug 2022 11:14:46 -0400 Subject: Fix TextSourceElement.getRects (#2177) --- ext/js/dom/text-source-element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/js') 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() { -- cgit v1.2.3