aboutsummaryrefslogtreecommitdiff
path: root/anki-card-template
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-10-07 20:10:41 +0200
committerlonkaars <loek@pipeframe.xyz>2023-10-07 20:10:41 +0200
commit69cf8d2114219dccaf80a4e951857505407eb4d4 (patch)
tree379e8fdca952780618ab7fc143ad58776ca72a83 /anki-card-template
parent7c68bc59f59eabca2ee4e64d35cd8b2feb33d639 (diff)
fix audio playing on front side3.5.1
Diffstat (limited to 'anki-card-template')
-rw-r--r--anki-card-template/template.html.m43
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>