[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
@ -154,7 +154,7 @@ var PDFLinkService = (function () {
|
|||||||
return pdfOpenParams;
|
return pdfOpenParams;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return '';
|
return this.getAnchorUrl('');
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user