mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
[Firefox] Prevent internal links from displaying "resource://pdf.js/web/" on hover, by tweaking the fallback case in PDFLinkService_getDestinationHash
An example where this is happening is http://www.nyc.gov/html/dcp/pdf/zone/map8c.pdf, check the link just below "Effective Date(s) of Rezoning:" on the right middle of the page.
This commit is contained in:
parent
a96602223f
commit
d2c58a4ccc
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ var PDFLinkService = (function () {
|
|||
return pdfOpenParams;
|
||||
}
|
||||
}
|
||||
return '';
|
||||
return this.getAnchorUrl('');
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue