aboutsummaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-07-18 08:41:46 -0700
committerAlex Yatskov <alex@foosoft.net>2016-07-18 08:41:46 -0700
commita9a694358f046fca54ca8a83e1fb831e69a88a88 (patch)
tree8a3a0bfa0c475e2d724c0d33cb554112ada7dac6 /tmpl/kanji.html
parenta567ef360523e71040348fdded761c6d71a6d4d5 (diff)
Fixing Kanji behavior, bumping version
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>