fix options object location
This commit is contained in:
parent
387e93dbbc
commit
24d9001b14
@ -55,7 +55,7 @@ class QueryParser extends TextScanner {
|
||||
const {definitions, length} = await apiTermsFind(searchText, {}, this.search.getOptionsContext());
|
||||
if (definitions.length === 0) { return null; }
|
||||
|
||||
const sentence = docSentenceExtract(textSource, this.options.anki.sentenceExt);
|
||||
const sentence = docSentenceExtract(textSource, this.search.options.anki.sentenceExt);
|
||||
|
||||
textSource.setEndOffset(length);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user