diff options
| author | Alex Yatskov <alex@foosoft.net> | 2016-05-05 18:55:43 -0700 |
|---|---|---|
| committer | Alex Yatskov <alex@foosoft.net> | 2016-05-05 18:55:43 -0700 |
| commit | dd4b2f73656d652bc56be784a27e7378ab969ac6 (patch) | |
| tree | 63cc332ab1b455edc80d510fca6a4f5780d1e28c /ext/fg/js/api.js | |
| parent | e74386faa4b5a987c41140df5b28de8dce06f401 (diff) | |
Cleanup
Diffstat (limited to 'ext/fg/js/api.js')
| -rw-r--r-- | ext/fg/js/api.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js index c65b1702..97c14640 100644 --- a/ext/fg/js/api.js +++ b/ext/fg/js/api.js @@ -17,8 +17,8 @@ */ -function sendMessage(action, data, callback) { - chrome.runtime.sendMessage({action: action, data: data}, callback); +function sendMessage(action, params, callback) { + chrome.runtime.sendMessage({action: action, params: params}, callback); } function findTerm(text, callback) { |