Decode the filename when assigning to title.
This commit is contained in:
parent
211c63f587
commit
2283f0bac1
@ -311,7 +311,7 @@ var PDFView = {
|
|||||||
open: function pdfViewOpen(url, scale) {
|
open: function pdfViewOpen(url, scale) {
|
||||||
this.url = url;
|
this.url = url;
|
||||||
|
|
||||||
document.title = getFileName(url) || url;
|
document.title = decodeURIComponent(getFileName(url)) || url;
|
||||||
|
|
||||||
if (!PDFView.loadingBar) {
|
if (!PDFView.loadingBar) {
|
||||||
PDFView.loadingBar = new ProgressBar('#loadingBar', {});
|
PDFView.loadingBar = new ProgressBar('#loadingBar', {});
|
||||||
|
Loading…
Reference in New Issue
Block a user