diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-05 20:06:13 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-05 20:06:13 -0700 |
commit | 9cb099e5f6aad33c70d986bd6a48668e54ee211c (patch) | |
tree | d46de3d97388764f15f8f319d8455e60d3c2d9f4 /util/tmpl/kanji.html | |
parent | dd4b2f73656d652bc56be784a27e7378ab969ac6 (diff) |
Optimization
Diffstat (limited to 'util/tmpl/kanji.html')
-rw-r--r-- | util/tmpl/kanji.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html index 4851826f..119fead6 100644 --- a/util/tmpl/kanji.html +++ b/util/tmpl/kanji.html @@ -1,11 +1,7 @@ <div class="kanji-definition"> {{#with options}} {{#if enableAnkiConnect}} - <div class="action-bar"> - {{#with ../addable}} - <a href="#" title="Add Kanji" class="action-link {{#unless kanji}}disabled{{/unless}}" data-mode="kanji" data-index="{{@index}}"><img src="{{../../root}}/add_kanji.png"></a> - {{/with}} - </div> + <a href="#" title="Add Kanji" class="action-link disabled" data-mode="kanji" data-index="{{@index}}"><img src="{{../root}}/add_kanji.png"></a> {{/if}} {{/with}} |