mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Revert "[Editor] Dispatch changes in prefs enableAltTextModelDownload and enableGuessAltText to the viewer (bug 1912024)"
This commit is contained in:
parent
fef2853263
commit
6c005eabb3
6 changed files with 51 additions and 162 deletions
|
@ -404,7 +404,9 @@ const PDFViewerApplication = {
|
|||
} else {
|
||||
eventBus = new EventBus();
|
||||
}
|
||||
this.mlManager?.setEventBus(eventBus, this._globalAbortController.signal);
|
||||
if (this.mlManager) {
|
||||
this.mlManager.eventBus = eventBus;
|
||||
}
|
||||
this.eventBus = eventBus;
|
||||
|
||||
this.overlayManager = new OverlayManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue