aboutsummaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 0a0cfe11..daa825be 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -1,11 +1,9 @@
<div class="kanji-definition">
- {{#with options}}
- <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>
+ <div class="action-bar" data-sequence="{{sequence}}">
+ {{#if addable}}
+ <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>
- {{/with}}
<div class="kanji-glyph">{{character}}</div>