aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-08-31 16:37:17 +0300
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-02 19:33:52 -0400
commit834f14e808526da958b26accd0d18056a7f4415c (patch)
tree4700ad92441e0b8bc514161ebd0b8c58996fd733 /ext/fg/js
parent3d28a3a405273d8416ddc8976aaaff0c90ac057d (diff)
simplified if statement back to single line
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/frontend.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index a31bdf79..eea77d2a 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -297,10 +297,7 @@ class Frontend {
}
async searchAt(point, type) {
- if (
- this.pendingLookup ||
- await this.popup.containsPoint(point)
- ) {
+ if (this.pendingLookup || await this.popup.containsPoint(point)) {
return;
}