aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/client.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-07-25 20:32:45 -0700
committerAlex Yatskov <alex@foosoft.net>2016-07-25 20:32:45 -0700
commit3ffcf184bb13b40f69cd070515c37fabd85c273f (patch)
treeb548e7092053f7ba444f2f1e1928e32d4bcd3ab0 /ext/fg/js/client.js
parent80fedc4f7afd551481314585336199e53af843c5 (diff)
Fix typo
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;