Jonas Jenwald 648024f5d0 Don't call bindEvents() until PDFViewerApplication has been initialized, and move binding of window event listeners to a helper method, to prevent errors if an event manages to arrive too soon
With `bindEvents()` now being called after the viewer has been initialized, we no longer need to have `PDFViewerApplication.initialized` checks in the event handler functions.
Furthermore by moving the `window.addEventListener`s to a helper method, `PDFViewerApplication.initialized` checks are no longer necessary in the event handlers, hence we thus address part of issue 7797 here as well.
2016-12-14 16:17:10 +01:00
..
2016-07-17 14:33:41 +02:00
2016-04-28 06:57:24 -05:00
2016-04-28 06:57:24 -05:00
2016-04-28 13:30:03 -05:00
2016-11-24 23:44:57 +01:00