Remove jquery from reviewer.py

- we no longer actually need to focus the default ease button
This commit is contained in:
Henrik Giesel 2021-04-13 20:11:18 +02:00
parent bdf1e6324e
commit 7dd12a523d

View File

@ -716,9 +716,7 @@ time = %(time)d;
for ease, label in self._answerButtonList():
buf += but(ease, label)
buf += "</tr></table>"
script = """
<script>$(function () { $("#defease").focus(); });</script>"""
return buf + script
return buf
def _buttonTime(self, i: int) -> str:
if not self.mw.col.conf["estTimes"]: