mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Remove jquery from reviewer.py
- we no longer actually need to focus the default ease button
This commit is contained in:
parent
bdf1e6324e
commit
7dd12a523d
1 changed files with 1 additions and 3 deletions
|
@ -716,9 +716,7 @@ time = %(time)d;
|
||||||
for ease, label in self._answerButtonList():
|
for ease, label in self._answerButtonList():
|
||||||
buf += but(ease, label)
|
buf += but(ease, label)
|
||||||
buf += "</tr></table>"
|
buf += "</tr></table>"
|
||||||
script = """
|
return buf
|
||||||
<script>$(function () { $("#defease").focus(); });</script>"""
|
|
||||||
return buf + script
|
|
||||||
|
|
||||||
def _buttonTime(self, i: int) -> str:
|
def _buttonTime(self, i: int) -> str:
|
||||||
if not self.mw.col.conf["estTimes"]:
|
if not self.mw.col.conf["estTimes"]:
|
||||||
|
|
Loading…
Reference in a new issue