Skip to content

Commit

Permalink
dirty: disable global event bus (should fix legalthings/angular-pdfjs…
Browse files Browse the repository at this point in the history
  • Loading branch information
julamb committed Apr 2, 2020
1 parent cd8a105 commit aa41fe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12173,6 +12173,7 @@ function attachDOMEventsToEventBus(eventBus) {
}
var globalEventBus = null;
function getGlobalEventBus() {
return new EventBus();
if (globalEventBus) {
return globalEventBus;
}
Expand Down

0 comments on commit aa41fe2

Please sign in to comment.