diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-08-28 01:08:45 +0300 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-02 19:33:52 -0400 |
commit | 87ff5cb19bc78244faafcfcb54d8428b2ed978f6 (patch) | |
tree | 0ddc055137a247a7b7d0be24598bfec52b3e3a85 /ext/fg/js/popup-proxy-host.js | |
parent | 71471d08e56f1a2431e67d0439724cc52a1ea73e (diff) |
make containsPoint async everywhere
Diffstat (limited to 'ext/fg/js/popup-proxy-host.js')
-rw-r--r-- | ext/fg/js/popup-proxy-host.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/popup-proxy-host.js b/ext/fg/js/popup-proxy-host.js index cdd1d02c..1048f410 100644 --- a/ext/fg/js/popup-proxy-host.js +++ b/ext/fg/js/popup-proxy-host.js @@ -110,7 +110,7 @@ class PopupProxyHost { async containsPoint(id, point) { const popup = this.getPopup(id); - return popup.containsPointIsAsync() ? await popup.containsPointAsync(point) : popup.containsPoint(point); + return await popup.containsPoint(point); } async termsShow(id, elementRect, definitions, options, context) { |