mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
no longer need to hack around webengine stealing focus
This commit is contained in:
parent
9958dd57a4
commit
321c4d7ff8
1 changed files with 0 additions and 4 deletions
|
@ -227,8 +227,6 @@ Please create a new card type first."""))
|
||||||
jsinc = ["jquery.js","browsersel.js",
|
jsinc = ["jquery.js","browsersel.js",
|
||||||
"mathjax/conf.js", "mathjax/MathJax.js",
|
"mathjax/conf.js", "mathjax/MathJax.js",
|
||||||
"mathjax/queue-typeset.js"]
|
"mathjax/queue-typeset.js"]
|
||||||
self.tab['pform'].frontWeb.setEnabled(False)
|
|
||||||
self.tab['pform'].backWeb.setEnabled(False)
|
|
||||||
self.tab['pform'].frontWeb.stdHtml(
|
self.tab['pform'].frontWeb.stdHtml(
|
||||||
ti(mungeQA(self.mw.col, c.q(reload=True)))+
|
ti(mungeQA(self.mw.col, c.q(reload=True)))+
|
||||||
self.tab['pform'].frontWeb.bundledCSS("reviewer.css"),
|
self.tab['pform'].frontWeb.bundledCSS("reviewer.css"),
|
||||||
|
@ -237,8 +235,6 @@ Please create a new card type first."""))
|
||||||
ti(mungeQA(self.mw.col, c.a()), type='a')+
|
ti(mungeQA(self.mw.col, c.a()), type='a')+
|
||||||
self.tab['pform'].backWeb.bundledCSS("reviewer.css"),
|
self.tab['pform'].backWeb.bundledCSS("reviewer.css"),
|
||||||
bodyClass="card card%d" % (c.ord+1), head=base, js=jsinc),
|
bodyClass="card card%d" % (c.ord+1), head=base, js=jsinc),
|
||||||
self.tab['pform'].frontWeb.setEnabled(True)
|
|
||||||
self.tab['pform'].backWeb.setEnabled(True)
|
|
||||||
clearAudioQueue()
|
clearAudioQueue()
|
||||||
if c.id not in self.playedAudio:
|
if c.id not in self.playedAudio:
|
||||||
playFromText(c.q())
|
playFromText(c.q())
|
||||||
|
|
Loading…
Reference in a new issue