aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-proxy-host.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/popup-proxy-host.js
parent29734ea6e95ad0c3a7e159a424dd587dc4966fa5 (diff)
isVisibleAsync => isVisible
Diffstat (limited to 'ext/fg/js/popup-proxy-host.js')
-rw-r--r--ext/fg/js/popup-proxy-host.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/popup-proxy-host.js b/ext/fg/js/popup-proxy-host.js
index 2f06bb67..9ff8a8c8 100644
--- a/ext/fg/js/popup-proxy-host.js
+++ b/ext/fg/js/popup-proxy-host.js
@@ -42,7 +42,7 @@ class PopupProxyHost {
['createNestedPopup', ({parentId}) => this._onApiCreateNestedPopup(parentId)],
['setOptions', ({id, options}) => this._onApiSetOptions(id, options)],
['hide', ({id, changeFocus}) => this._onApiHide(id, changeFocus)],
- ['isVisibleAsync', ({id}) => this._onApiIsVisibleAsync(id)],
+ ['isVisible', ({id}) => this._onApiIsVisibleAsync(id)],
['setVisibleOverride', ({id, visible}) => this._onApiSetVisibleOverride(id, visible)],
['containsPoint', ({id, x, y}) => this._onApiContainsPoint(id, x, y)],
['showContent', ({id, elementRect, writingMode, type, details}) => this._onApiShowContent(id, elementRect, writingMode, type, details)],
@@ -73,7 +73,7 @@ class PopupProxyHost {
async _onApiIsVisibleAsync(id) {
const popup = this._getPopup(id);
- return await popup.isVisibleAsync();
+ return await popup.isVisible();
}
async _onApiSetVisibleOverride(id, visible) {