summaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-08-23 22:28:37 -0700
committerAlex Yatskov <alex@foosoft.net>2016-08-23 22:28:37 -0700
commitb2d9b613ad3a673abb20033808877962545644d4 (patch)
tree46f95c67332136992ae0f346ab0d10d056a4dc62 /ext/bg/js/yomichan.js
parent8b5f74f99bdbaeb1b7c72614f2a71abfc72be479 (diff)
Cleanup
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index fd9b84d3..716c622a 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -23,7 +23,7 @@ class Yomichan {
Handlebars.registerHelper('kanjiLinks', function(options) {
let result = '';
for (const c of options.fn(this)) {
- if (Translator.isKanji(c)) {
+ if (isKanji(c)) {
result += Handlebars.templates['kanji-link.html']({kanji: c}).trim();
} else {
result += c;