mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
fix autoplay on the answer side
This commit is contained in:
parent
538119201c
commit
dc81af96ac
1 changed files with 1 additions and 1 deletions
|
@ -199,10 +199,10 @@ The front of this card is empty. Please run Tools>Empty Cards.""")
|
||||||
self.state = "answer"
|
self.state = "answer"
|
||||||
c = self.card
|
c = self.card
|
||||||
a = c.a()
|
a = c.a()
|
||||||
a = self._mungeQA(a)
|
|
||||||
# play audio?
|
# play audio?
|
||||||
if self.autoplay(c):
|
if self.autoplay(c):
|
||||||
playFromText(a)
|
playFromText(a)
|
||||||
|
a = self._mungeQA(a)
|
||||||
# render and update bottom
|
# render and update bottom
|
||||||
self.web.eval("_showAnswer(%s);" % json.dumps(a))
|
self.web.eval("_showAnswer(%s);" % json.dumps(a))
|
||||||
self._showEaseButtons()
|
self._showEaseButtons()
|
||||||
|
|
Loading…
Reference in a new issue