Merge pull request #13617 from Snuffleupagus/reset-externalLinkEnabled
Reset the `IPDFLinkService.externalLinkEnabled` property on document closing
This commit is contained in:
commit
c115be27b6
@ -828,6 +828,7 @@ const PDFViewerApplication = {
|
||||
this.pdfDocumentProperties.setDocument(null);
|
||||
}
|
||||
webViewerResetPermissions();
|
||||
this.pdfLinkService.externalLinkEnabled = true;
|
||||
this._fellback = false;
|
||||
this.store = null;
|
||||
this.isInitialViewSet = false;
|
||||
|
@ -41,13 +41,12 @@ class PDFLinkService {
|
||||
eventBus,
|
||||
externalLinkTarget = null,
|
||||
externalLinkRel = null,
|
||||
externalLinkEnabled = true,
|
||||
ignoreDestinationZoom = false,
|
||||
} = {}) {
|
||||
this.eventBus = eventBus;
|
||||
this.externalLinkTarget = externalLinkTarget;
|
||||
this.externalLinkRel = externalLinkRel;
|
||||
this.externalLinkEnabled = externalLinkEnabled;
|
||||
this.externalLinkEnabled = true;
|
||||
this._ignoreDestinationZoom = ignoreDestinationZoom;
|
||||
|
||||
this.baseUrl = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user