Disable links in PDF files to counter spam

This commit is contained in:
2021-11-23 14:22:05 +01:00
parent 776fa7489c
commit 0c4aeef80b

View File

@@ -10177,7 +10177,7 @@ class BaseViewer {
renderingQueue: this.renderingQueue,
textLayerFactory,
textLayerMode: this.textLayerMode,
annotationLayerFactory: this,
// annotationLayerFactory: this,
xfaLayerFactory,
structTreeLayerFactory: this,
imageResourcesPath: this.imageResourcesPath,
@@ -11462,7 +11462,7 @@ class PDFPageView {
this.eventBus = options.eventBus;
this.renderingQueue = options.renderingQueue;
this.textLayerFactory = options.textLayerFactory;
this.annotationLayerFactory = options.annotationLayerFactory;
// this.annotationLayerFactory = options.annotationLayerFactory;
this.xfaLayerFactory = options.xfaLayerFactory;
this.structTreeLayerFactory = options.structTreeLayerFactory;
this.renderer = options.renderer || _ui_utils.RendererType.CANVAS;