From 9cb099e5f6aad33c70d986bd6a48668e54ee211c Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 5 May 2016 20:06:13 -0700 Subject: Optimization --- util/tmpl/kanji.html | 6 +----- util/tmpl/term.html | 6 ++---- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'util/tmpl') 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 @@
{{#with options}} {{#if enableAnkiConnect}} -
- {{#with ../addable}} - - {{/with}} -
+ {{/if}} {{/with}} diff --git a/util/tmpl/term.html b/util/tmpl/term.html index 465a9388..da29271c 100644 --- a/util/tmpl/term.html +++ b/util/tmpl/term.html @@ -2,10 +2,8 @@ {{#with options}} {{#if enableAnkiConnect}}
- {{#with ../addable}} - - - {{/with}} + +
{{/if}} {{/with}} -- cgit v1.2.3