summaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 81ead584..3e148aae 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -1,10 +1,10 @@
<div class="kanji-definition">
{{#with options}}
- {{#if enableAnkiConnect}}
- <div class="action-bar">
- <a href="#" title="Add Kanji" class="action-link disabled" data-sequence="{{../sequence}}" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_kanji.png"></a>
+ <div class="action-bar" data-sequence="{{../sequence}}">
+ {{#if enableAnkiConnect}}
+ <a href="#" title="Add Kanji" class="action-add-note disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/img/add_kanji.png"></a>
+ {{/if}}
</div>
- {{/if}}
{{/with}}
<div class="kanji-glyph">{{character}}</div>
@@ -40,4 +40,3 @@
</dl>
</div>
</div>
-</div>