mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Add verbosity as an api setting.
This commit is contained in:
parent
f2b717c637
commit
53549411b4
4 changed files with 27 additions and 6 deletions
|
@ -1603,6 +1603,10 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) {
|
|||
USE_ONLY_CSS_ZOOM = (hashParams['useOnlyCssZoom'] === 'true');
|
||||
}
|
||||
|
||||
if ('verbosity' in hashParams) {
|
||||
PDFJS.verbosity = hashParams['verbosity'] | 0;
|
||||
}
|
||||
|
||||
//#if !(FIREFOX || MOZCENTRAL)
|
||||
var locale = navigator.language;
|
||||
if ('locale' in hashParams)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue