summaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-17 20:24:22 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-17 20:24:22 -0700
commit94c30c83e69e050c0237988a77cd41342ebeebfe (patch)
treef92b8d6b808fde1f9f88b2a868467116acd02c01 /ext/bg/js/yomichan.js
parentd5170414af9287143a9906fd81fde49318be4617 (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 11d71ae1..6611e7ac 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -24,7 +24,7 @@ class Yomichan {
let result = '';
for (const c of options.fn(this)) {
if (Translator.isKanji(c)) {
- result += `<a href="#">${c}</a>`;
+ result += Handlebars.templates['kanji-link.html']({kanji: c});
} else {
result += c;
}