mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
prevent answer keys when question shown
This commit is contained in:
parent
bbde6dd1f8
commit
43a8a0e4df
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ function _typeAnsPress() {
|
||||||
|
|
||||||
def _answerCard(self, ease):
|
def _answerCard(self, ease):
|
||||||
"Reschedule card and show next."
|
"Reschedule card and show next."
|
||||||
|
if self.state != "answer":
|
||||||
|
return
|
||||||
if self.mw.col.sched.answerButtons(self.card) < ease:
|
if self.mw.col.sched.answerButtons(self.card) < ease:
|
||||||
return
|
return
|
||||||
self.mw.col.sched.answerCard(self.card, ease)
|
self.mw.col.sched.answerCard(self.card, ease)
|
||||||
|
|
Loading…
Reference in a new issue