From d2644c0776c4058ec8b029650ecf911150e35993 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 24 Oct 2019 21:41:58 -0400 Subject: Style update --- ext/fg/js/frontend.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ext/fg/js') diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index f788f431..9fdd9671 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -156,10 +156,7 @@ class Frontend { } onTouchStart(e) { - if ( - this.primaryTouchIdentifier !== null || - e.changedTouches.length === 0 - ) { + if (this.primaryTouchIdentifier !== null || e.changedTouches.length === 0) { return; } @@ -175,7 +172,9 @@ class Frontend { this.primaryTouchIdentifier = primaryTouch.identifier; - if (this.pendingLookup) { return; } + if (this.pendingLookup) { + return; + } const textSourceCurrentPrevious = this.textSourceCurrent !== null ? this.textSourceCurrent.clone() : null; -- cgit v1.2.3