From 834f14e808526da958b26accd0d18056a7f4415c Mon Sep 17 00:00:00 2001 From: siikamiika Date: Sat, 31 Aug 2019 16:37:17 +0300 Subject: simplified if statement back to single line --- ext/fg/js/frontend.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/fg') 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; } -- cgit v1.2.3