simplified if statement back to single line

This commit is contained in:
siikamiika 2019-08-31 16:37:17 +03:00 committed by toasted-nutbread
parent 3d28a3a405
commit 834f14e808

View File

@ -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;
}