aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index b4731e6a..0922d938 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -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 {