fix maxTime

This commit is contained in:
Damien Elmes 2012-03-16 20:08:58 +09:00
parent d1cf46d0c8
commit 3304bc0aef

View file

@ -472,7 +472,7 @@ function showAnswer(txt) {
self._remaining(), _("Show Answer"))
# wrap it in a table so it has the same top margin as the ease buttons
middle = "<table cellpadding=0><tr><td class=stat2 align=center>%s</td></tr></table>" % middle
maxTime = self.card.timeLimit()
maxTime = self.card.timeLimit() / 1000
self.bottom.web.eval("showQuestion(%s,%d);" % (
simplejson.dumps(middle), maxTime))