mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
fix focus setting in resume screen
This commit is contained in:
parent
d2507899c2
commit
a5997e400b
1 changed files with 1 additions and 1 deletions
|
@ -477,10 +477,10 @@ the manual for information on how to restore from an automatic backup."))
|
|||
<div style="position:relative; vertical-align: middle;">
|
||||
%s<br>
|
||||
%s</div></div></center>
|
||||
<script>$('#resume').focus()</script>
|
||||
""" % (i, b), css=self.sharedCSS)
|
||||
self.bottomWeb.hide()
|
||||
self.web.setFocus()
|
||||
self.web.eval("$('#resume').focus()")
|
||||
|
||||
# HTML helpers
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue