Merge pull request #5588 from Snuffleupagus/remove-pageView-anchor

Remove unused anchor links placed before every page
This commit is contained in:
Tim van der Meij 2015-01-23 22:38:09 +01:00
commit dd7fd0b665

View File

@ -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);
} }