pdfjs: Use "info" verbosity for pdf.js logging

This commit is contained in:
Daniel Schadt 2015-12-20 18:52:08 +01:00
parent f2ed14a24a
commit 4fdf318fda

View File

@ -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)))