aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-15 19:48:02 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 14:52:08 -0500
commit6d75637ace341b79a6a12c7854b13fb1c279498f (patch)
treea07862613f7b3aec1a59cc82c602603316600891 /ext/fg
parent1944f7a2157fd63fd04beb374ee5d9fb797e2531 (diff)
Fix brace style issues
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/document.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js
index 7284cdd1..ea9ac965 100644
--- a/ext/fg/js/document.js
+++ b/ext/fg/js/document.js
@@ -192,8 +192,7 @@ function docSentenceExtract(source, extent) {
if (terminators.includes(c)) {
endPos = i + 1;
break;
- }
- else if (c in quotesBwd) {
+ } else if (c in quotesBwd) {
endPos = i;
break;
}