Another missing this reference

refactor-class-scope
DominikDoom 2025-07-10 18:38:48 +02:00
parent de912bc800
commit 0d65238a55
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class CaretUtils {
];
static #isBrowser = (typeof window !== 'undefined');
static #isFirefox = (isBrowser && window.mozInnerScreenX != null);
static #isFirefox = (this.#isBrowser && window.mozInnerScreenX != null);
static getCaretCoordinates(element, position, options) {
if (!this.#isBrowser) {