aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-06 21:07:29 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-06 21:23:35 -0400
commit7db2c661054113966644c9055e5b60e29bbeb068 (patch)
treefc98a8c4740cf6e7e59cfc13705d57bb4360f65b /ext/bg/js
parent13b184707b1bb0c5150645d6cdd186accb345f60 (diff)
Use consistent structure for params
Diffstat (limited to 'ext/bg/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 c1cef0c5..f05ae9e6 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -62,7 +62,7 @@ class Backend {
const callback = () => this.checkLastError(chrome.runtime.lastError);
chrome.tabs.query({}, tabs => {
for (const tab of tabs) {
- chrome.tabs.sendMessage(tab.id, {action: 'optionsSet', params: options}, callback);
+ chrome.tabs.sendMessage(tab.id, {action: 'optionsSet', params: {options}}, callback);
}
});
}