Skip to content

Commit

Permalink
Merge pull request #1096 from ftaffelt/fix/error-on-destroy
Browse files Browse the repository at this point in the history
Explicitely switch AnnotationEditor off
  • Loading branch information
VadimDez authored May 15, 2024
2 parents c6648ca + 116851b commit cf4488e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/pdf-viewer/pdf-viewer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ export class PdfViewerComponent
findController: this.pdfFindController,
l10n: new PDFJSViewer.GenericL10n('en'),
imageResourcesPath: this._imageResourcesPath,
annotationEditorMode: PDFJS.AnnotationEditorType.DISABLE,
};
}

Expand Down

0 comments on commit cf4488e

Please sign in to comment.