aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/client.js')
-rw-r--r--ext/fg/js/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js
index e59718d6..a98f715a 100644
--- a/ext/fg/js/client.js
+++ b/ext/fg/js/client.js
@@ -96,7 +96,7 @@ class Client {
} else {
textSource.setEndOffset(length);
- const sentence = Client.extractSentence(textSource, this.opts.sentenceExtent);
+ const sentence = Client.extractSentence(textSource, this.options.sentenceExtent);
definitions.forEach((definition) => {
definition.url = window.location.href;
definition.sentence = sentence;