mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #19574 from Snuffleupagus/autolinking-xfa-disable
Don't attempt to use auto-linking in XFA documents (PR 19110 follow-up)
This commit is contained in:
commit
6e1cfa20d1
1 changed files with 1 additions and 1 deletions
|
@ -1064,7 +1064,7 @@ class PDFPageView extends BasePDFPageView {
|
|||
if (this.annotationLayer) {
|
||||
await this.#renderAnnotationLayer();
|
||||
|
||||
if (this.#enableAutoLinking && this.annotationLayer) {
|
||||
if (this.#enableAutoLinking && this.annotationLayer && this.textLayer) {
|
||||
await this.#injectLinkAnnotations(textLayerPromise);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue