diff --git a/src/UI/page.js b/src/UI/page.js index 36258362..38047faf 100644 --- a/src/UI/page.js +++ b/src/UI/page.js @@ -106,6 +106,7 @@ export function renderPage(pageNumber, renderOptions) { }).then(() => { // Indicate that the page was loaded page.setAttribute('data-loaded', 'true'); + textLayer.className += ' annotated-pdf-text-layer'; return [pdfPage, annotations]; });