mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 13:47:13 -05:00
make sure empty estimates don't reposition buttons
This commit is contained in:
parent
69da9b1e32
commit
f225bec50b
1 changed files with 1 additions and 1 deletions
|
|
@ -608,7 +608,7 @@ function showAnswer(txt) {
|
||||||
def _buttonTime(self, i):
|
def _buttonTime(self, i):
|
||||||
if not self.mw.col.conf['estTimes']:
|
if not self.mw.col.conf['estTimes']:
|
||||||
return "<div class=spacer></div>"
|
return "<div class=spacer></div>"
|
||||||
txt = self.mw.col.sched.nextIvlStr(self.card, i, True)
|
txt = self.mw.col.sched.nextIvlStr(self.card, i, True) or " "
|
||||||
return '<span class=nobold>%s</span><br>' % txt
|
return '<span class=nobold>%s</span><br>' % txt
|
||||||
|
|
||||||
# Leeches
|
# Leeches
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue