Include sentence in context on search page
This commit is contained in:
parent
3423ed7d67
commit
cfa16ce675
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user