summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-08-28 01:08:45 +0300
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-02 19:33:52 -0400
commit87ff5cb19bc78244faafcfcb54d8428b2ed978f6 (patch)
tree0ddc055137a247a7b7d0be24598bfec52b3e3a85 /ext/fg/js/frontend.js
parent71471d08e56f1a2431e67d0439724cc52a1ea73e (diff)
make containsPoint async everywhere
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 f59ea318..1dff6fb9 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -294,7 +294,7 @@ class Frontend {
async searchAt(point, type) {
if (
this.pendingLookup ||
- (this.popup.containsPointIsAsync() ? await this.popup.containsPointAsync(point) : this.popup.containsPoint(point))
+ await this.popup.containsPoint(point)
) {
return;
}