diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-23 19:41:13 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-23 19:41:13 -0700 |
commit | 62a47278b5f5751ceaac18a26659c794fbc0ed84 (patch) | |
tree | ca9d9733cfc30ea762ecc866ce5dbd35440076c3 /ext/jp | |
parent | 2fe2e993ee1cdc80c91b03809a715f62995a8132 (diff) |
WIP
Diffstat (limited to 'ext/jp')
-rw-r--r-- | ext/jp/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jp/init.js b/ext/jp/init.js index 81c06d3d..d3345a38 100644 --- a/ext/jp/init.js +++ b/ext/jp/init.js @@ -33,7 +33,7 @@ const trans = new Translator(res, onInit); function onMessage(request, sender, callback) { switch (request.action.toLowerCase()) { case 'define': - callback(trans.findTerm(request.term)); + callback(trans.findTerm(request.text)); break; } } |