mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Decode the filename when assigning to title.
This commit is contained in:
parent
211c63f587
commit
2283f0bac1
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ var PDFView = {
|
|||
open: function pdfViewOpen(url, scale) {
|
||||
this.url = url;
|
||||
|
||||
document.title = getFileName(url) || url;
|
||||
document.title = decodeURIComponent(getFileName(url)) || url;
|
||||
|
||||
if (!PDFView.loadingBar) {
|
||||
PDFView.loadingBar = new ProgressBar('#loadingBar', {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue