diff --git a/web/app.js b/web/app.js index 27a8e4a18..2729e6c3b 100644 --- a/web/app.js +++ b/web/app.js @@ -145,7 +145,6 @@ const PDFViewerApplication = { url: "", baseUrl: "", _downloadUrl: "", - externalServices: new ExternalServices(), _boundEvents: Object.create(null), documentInfo: null, metadata: null, @@ -676,6 +675,10 @@ const PDFViewerApplication = { } }, + get externalServices() { + return shadow(this, "externalServices", new ExternalServices()); + }, + get initialized() { return this._initializedCapability.settled; },