mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
make sure answer area focused when typing answer
This commit is contained in:
parent
8dbfd676ef
commit
a3a4f9772a
1 changed files with 2 additions and 1 deletions
|
@ -472,7 +472,8 @@ function showAnswer(txt) {
|
|||
|
||||
def _showAnswerButton(self):
|
||||
self._bottomReady = True
|
||||
self.bottom.web.setFocus()
|
||||
if not self.typeCorrect:
|
||||
self.bottom.web.setFocus()
|
||||
middle = '''
|
||||
<span class=stattxt>%s</span><br>
|
||||
<button id=ansbut onclick='py.link(\"ans\");'>%s</button>''' % (
|
||||
|
|
Loading…
Reference in a new issue