mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
remove unused bodyClass arg
This commit is contained in:
parent
82aeb57318
commit
c8e8225395
1 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@ class AnkiWebView(QWebEngineView):
|
|||
dpi = screen.logicalDpiX()
|
||||
return max(1, dpi / 96.0)
|
||||
|
||||
def stdHtml(self, body, css="", bodyClass="", js=["jquery.js"], head=""):
|
||||
def stdHtml(self, body, css="", js=["jquery.js"], head=""):
|
||||
if isWin:
|
||||
buttonspec = "button { font-size: 12px; font-family:'Segoe UI'; }"
|
||||
fontspec = 'font-size:12px;font-family:"Segoe UI";'
|
||||
|
@ -188,13 +188,13 @@ body { zoom: %f; %s }
|
|||
%s
|
||||
|
||||
</head>
|
||||
<body class="%s">%s</body></html>""" % (
|
||||
<body>%s</body></html>""" % (
|
||||
self.title,
|
||||
self.zoomFactor(),
|
||||
fontspec,
|
||||
buttonspec,
|
||||
css, jstxt,
|
||||
head, bodyClass, body)
|
||||
head, body)
|
||||
#print(html)
|
||||
self.setHtml(html)
|
||||
|
||||
|
|
Loading…
Reference in a new issue