mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
moving \!pdfTitle to front
This commit is contained in:
parent
e283a60d7b
commit
2bb5a9e545
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ var PDFView = {
|
|||
}
|
||||
}
|
||||
|
||||
if (info && info.has('Title') && !pdfTitle) {
|
||||
if (!pdfTitle && info && info.has('Title')) {
|
||||
pdfTitle = info.get('Title');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue