diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-10-07 20:10:41 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-10-07 20:10:41 +0200 |
commit | 69cf8d2114219dccaf80a4e951857505407eb4d4 (patch) | |
tree | 379e8fdca952780618ab7fc143ad58776ca72a83 /anki-card-template | |
parent | 7c68bc59f59eabca2ee4e64d35cd8b2feb33d639 (diff) |
fix audio playing on front side3.5.1
Diffstat (limited to 'anki-card-template')
-rw-r--r-- | anki-card-template/template.html.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/anki-card-template/template.html.m4 b/anki-card-template/template.html.m4 index 8ad0795..362cb5a 100644 --- a/anki-card-template/template.html.m4 +++ b/anki-card-template/template.html.m4 @@ -11,7 +11,8 @@ include(`common.m4')dnl <div id="back"> <span class="flex-line"> <span id="target-word-reading" class="parse parse-format parse-reading parse-indicators parse-script foreign">{{Target word reading}}</span> -<span id="audio">{{ Audio }}</span> +ifelse(CARD_SIDE(), `back', `<span id="audio">{{ Audio }}</span> +')dnl </span> <span id="target-word-translation" class="parse parse-format parse-definitions parse-indicators parse-script native">{{Target word translation}}</span> <span id="sentence-translation" class="parse parse-format native spoiler parse-script hidden">{{Complete sentence translation}}</span> |