aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-15 21:49:20 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-16 19:54:41 -0500
commit0fb2357ec7388198134aed021a7014c0c0dda5c9 (patch)
treec5da450582f5b9b3d73775a9a22045fff5db758f /ext/fg/js/frontend.js
parent29734ea6e95ad0c3a7e159a424dd587dc4966fa5 (diff)
isVisibleAsync => isVisible
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()