diff --git a/web/page_view.js b/web/page_view.js index 34c7be32a..c67a1953b 100644 --- a/web/page_view.js +++ b/web/page_view.js @@ -184,6 +184,10 @@ var PageView = function pageView(container, id, scale, 'translate(' + transX + ', ' + transY + ')'); CustomStyle.setProp('transformOrigin', textLayerDiv, '0% 0%'); } + + if (USE_ONLY_CSS_ZOOM && this.annotationLayer) { + setupAnnotations(div, this.pdfPage, this.viewport); + } }; Object.defineProperty(this, 'width', {