diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-24 21:41:58 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-28 17:03:42 -0400 |
commit | d2644c0776c4058ec8b029650ecf911150e35993 (patch) | |
tree | debf7faac83f1123c3dea2385ad7f4b1380f516b | |
parent | c365101ec28be0aa2638325ecfda4abe1474eb0f (diff) |
Style update
-rw-r--r-- | ext/fg/js/frontend.js | 9 |
1 files changed, 4 insertions, 5 deletions
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; |