mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
reenable centerQA
This commit is contained in:
parent
7b9b78fe63
commit
59d3807c1c
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Reviewer(object):
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
_revHtml = """
|
_revHtml = """
|
||||||
<table width=100%% height=100%%><tr valign=middle><td>
|
<table width=100%% height=100%%><tr valign=%(align)s><td>
|
||||||
<div id=q></div>
|
<div id=q></div>
|
||||||
<hr class=inv id=midhr>
|
<hr class=inv id=midhr>
|
||||||
<div id=a></div>
|
<div id=a></div>
|
||||||
|
@ -156,6 +156,7 @@ $(".ansbut").focus();
|
||||||
|
|
||||||
def _initWeb(self):
|
def _initWeb(self):
|
||||||
self.web.stdHtml(self._revHtml % dict(
|
self.web.stdHtml(self._revHtml % dict(
|
||||||
|
align="middle" if self.mw.config['centerQA'] else "top",
|
||||||
showans=_("Show Answer")), self._styles(),
|
showans=_("Show Answer")), self._styles(),
|
||||||
loadCB=lambda x: self._showQuestion())
|
loadCB=lambda x: self._showQuestion())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue