This commit is contained in:
Alex Yatskov 2016-07-25 20:32:45 -07:00
parent 80fedc4f7a
commit 3ffcf184bb

View File

@ -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;