summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-03-09 04:06:31 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-03-09 04:06:31 +0200
commit0112dbab33ab214f9e1dc930558833956d4ad1c4 (patch)
tree2abac1aca4fc6d4f1f49322d9120eecedf8e458c /ext/bg/js/backend.js
parent0cd1f8f20a1b632847e14b280849e4af1b6dd9ad (diff)
fix searchQueryUpdate
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 6e5235ed..d0d53a36 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -695,7 +695,7 @@ class Backend {
await Backend._focusTab(tab);
if (queryParams.query) {
await new Promise((resolve) => chrome.tabs.sendMessage(
- tab.id, {action: 'searchQueryUpdate', params: {query: queryParams.query}}, resolve
+ tab.id, {action: 'searchQueryUpdate', params: {text: queryParams.query}}, resolve
));
}
return true;