mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Use Title - Filename as document.title
This commit is contained in:
parent
748f6a55a4
commit
025ee3f9af
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ var PDFView = {
|
|||
pdfTitle = info['Title'];
|
||||
|
||||
if (pdfTitle)
|
||||
document.title = pdfTitle;
|
||||
document.title = pdfTitle + ' - ' + document.title;
|
||||
},
|
||||
|
||||
setHash: function pdfViewSetHash(hash) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue