aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;