[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:
Jonas Jenwald 2015-12-09 10:07:39 +01:00
parent a96602223f
commit d2c58a4ccc

View File

@ -154,7 +154,7 @@ var PDFLinkService = (function () {
return pdfOpenParams;
}
}
return '';
return this.getAnchorUrl('');
},
/**