Remove the attachDOMEventsToEventBus functionality, since EventBus instances are able to re-dispatch events to the DOM (PR 10019, bug 1492849 follow-up)

This also removes the old 'pagechange'/'scalechange'/'documentload' events.
This commit is contained in:
Jonas Jenwald 2018-09-20 20:51:50 +02:00
parent 7053b5a146
commit e2e9657ed0
15 changed files with 41 additions and 188 deletions

View file

@ -60,7 +60,7 @@ function getViewerConfiguration() {
appContainer: document.body,
mainContainer: document.getElementById('viewerContainer'),
viewerContainer: document.getElementById('viewer'),
eventBus: null, // using global event bus with DOM events
eventBus: null, // Using global event bus with (optional) DOM events.
toolbar: {
container: document.getElementById('toolbarViewer'),
numPages: document.getElementById('numPages'),