summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 14:55:18 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 15:31:29 -0400
commit6da76835524fbf6b95902f06822d77c54ccf735b (patch)
tree89b479b925e0bb48a89258710c442dac407a3fd7 /ext/fg/js/frontend.js
parenta5b208fb895d46793223910451d177dc53d9463a (diff)
Don't pass options around for calls to termsShow, kanjiShow, etc.
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r--ext/fg/js/frontend.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index f67441af..52a23889 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -333,8 +333,7 @@ class Frontend {
if (textSource && this.options.scanning.modifier !== 'none') {
this.popup.showOrphaned(
textSource.getRect(),
- textSource.getWritingMode(),
- this.options
+ textSource.getWritingMode()
);
}
} else {
@@ -374,7 +373,6 @@ class Frontend {
textSource.getRect(),
textSource.getWritingMode(),
definitions,
- this.options,
{sentence, url, focus}
);
@@ -405,7 +403,6 @@ class Frontend {
textSource.getRect(),
textSource.getWritingMode(),
definitions,
- this.options,
{sentence, url, focus}
);