diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-07 13:43:32 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-07 13:43:32 -0700 |
commit | 9b9985bd4ba810d5a4e985100c68c544df9bccaf (patch) | |
tree | 7d5ac749aa12a1a113a74731b33d81cbd960d91c /ext/fg/js/api.js | |
parent | 8c1ebe6bcbc3511231c60133cd54722ae97e43ee (diff) |
Improvements
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 9026c8d3..e13c1421 100644 --- a/ext/fg/js/api.js +++ b/ext/fg/js/api.js @@ -45,6 +45,6 @@ function bgGetState(callback) { bgSendMessage('getState', null, callback); } -function bgCanAddNotes(definitions, callback) { - bgSendMessage('canAddNotes', definitions, callback); +function bgCanAddNotes(definitions, modes, callback) { + bgSendMessage('canAddNotes', {definitions, modes}, callback); } |