aboutsummaryrefslogtreecommitdiff
path: root/ext/jp
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-23 19:41:13 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-23 19:41:13 -0700
commit62a47278b5f5751ceaac18a26659c794fbc0ed84 (patch)
treeca9d9733cfc30ea762ecc866ce5dbd35440076c3 /ext/jp
parent2fe2e993ee1cdc80c91b03809a715f62995a8132 (diff)
WIP
Diffstat (limited to 'ext/jp')
-rw-r--r--ext/jp/init.js2
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;
}
}