aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r--ext/fg/js/frontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 2fa69c9d..d29e4e4c 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -67,7 +67,7 @@ class Frontend extends TextScanner {
async onResize() {
const textSource = this.textSourceCurrent;
- if (textSource !== null && await this.popup.isVisibleAsync()) {
+ if (textSource !== null && await this.popup.isVisible()) {
this._lastShowPromise = this.popup.showContent(
textSource.getRect(),
textSource.getWritingMode()