mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #5588 from Snuffleupagus/remove-pageView-anchor
Remove unused anchor links placed before every page
This commit is contained in:
commit
dd7fd0b665
1 changed files with 0 additions and 4 deletions
|
@ -75,9 +75,6 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|||
|
||||
this.annotationLayer = null;
|
||||
|
||||
var anchor = document.createElement('a');
|
||||
anchor.name = '' + this.id;
|
||||
|
||||
var div = document.createElement('div');
|
||||
div.id = 'pageContainer' + this.id;
|
||||
div.className = 'page';
|
||||
|
@ -86,7 +83,6 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|||
this.el = div; // TODO replace 'el' property usage
|
||||
this.div = div;
|
||||
|
||||
container.appendChild(anchor);
|
||||
container.appendChild(div);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue