pdfjs: Use "info" verbosity for pdf.js logging
This commit is contained in:
parent
f2ed14a24a
commit
4fdf318fda
@ -57,6 +57,7 @@ def _generate_pdfjs_script(url):
|
||||
url: The url of the pdf page as QUrl.
|
||||
"""
|
||||
return (
|
||||
'PDFJS.verbosity = PDFJS.VERBOSITY_LEVELS.info;\n'
|
||||
'PDFView.open("{url}");\n'
|
||||
).format(url=webelem.javascript_escape(url.toString(QUrl.FullyEncoded)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user