Include sentence in context on search page

This commit is contained in:
toasted-nutbread 2019-11-26 11:32:05 -05:00
parent 3423ed7d67
commit cfa16ce675

View File

@ -220,7 +220,7 @@ class DisplaySearch extends Display {
const {definitions} = await apiTermsFind(query, details, this.optionsContext);
this.setContentTerms(definitions, {
focus: false,
sentence: null,
sentence: {text: query, offset: 0},
url: window.location.href
});
} else {