summaryrefslogtreecommitdiff
path: root/ext/jp/init.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jp/init.js')
-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;
}
}