summaryrefslogtreecommitdiff
path: root/ext/fg/js/float.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/float.js
parenta5b208fb895d46793223910451d177dc53d9463a (diff)
Don't pass options around for calls to termsShow, kanjiShow, etc.
Diffstat (limited to 'ext/fg/js/float.js')
-rw-r--r--ext/fg/js/float.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/float.js b/ext/fg/js/float.js
index d9b483d7..4a571466 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -143,8 +143,8 @@ DisplayFloat.onKeyDownHandlers = {
};
DisplayFloat.messageHandlers = {
- termsShow: (self, {definitions, options, context}) => self.termsShow(definitions, options, context),
- kanjiShow: (self, {definitions, options, context}) => self.kanjiShow(definitions, options, context),
+ termsShow: (self, {definitions, context}) => self.termsShow(definitions, context),
+ kanjiShow: (self, {definitions, context}) => self.kanjiShow(definitions, context),
clearAutoPlayTimer: (self) => self.clearAutoPlayTimer(),
orphaned: (self) => self.onOrphaned(),
initialize: (self, {options, popupInfo, url, childrenSupported}) => self.initialize(options, popupInfo, url, childrenSupported)