Merge pull request #5588 from Snuffleupagus/remove-pageView-anchor
Remove unused anchor links placed before every page
This commit is contained in:
commit
dd7fd0b665
@ -75,9 +75,6 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|||||||
|
|
||||||
this.annotationLayer = null;
|
this.annotationLayer = null;
|
||||||
|
|
||||||
var anchor = document.createElement('a');
|
|
||||||
anchor.name = '' + this.id;
|
|
||||||
|
|
||||||
var div = document.createElement('div');
|
var div = document.createElement('div');
|
||||||
div.id = 'pageContainer' + this.id;
|
div.id = 'pageContainer' + this.id;
|
||||||
div.className = 'page';
|
div.className = 'page';
|
||||||
@ -86,7 +83,6 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|||||||
this.el = div; // TODO replace 'el' property usage
|
this.el = div; // TODO replace 'el' property usage
|
||||||
this.div = div;
|
this.div = div;
|
||||||
|
|
||||||
container.appendChild(anchor);
|
|
||||||
container.appendChild(div);
|
container.appendChild(div);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user