summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-24 21:41:58 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-28 17:03:42 -0400
commitd2644c0776c4058ec8b029650ecf911150e35993 (patch)
treedebf7faac83f1123c3dea2385ad7f4b1380f516b /ext/fg
parentc365101ec28be0aa2638325ecfda4abe1474eb0f (diff)
Style update
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/frontend.js9
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;