mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
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:
parent
7053b5a146
commit
e2e9657ed0
15 changed files with 41 additions and 188 deletions
|
@ -13,9 +13,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { getGlobalEventBus } from './dom_events';
|
||||
import { getGlobalEventBus, scrollIntoView } from './ui_utils';
|
||||
import { renderTextLayer } from 'pdfjs-lib';
|
||||
import { scrollIntoView } from './ui_utils';
|
||||
|
||||
const EXPAND_DIVS_TIMEOUT = 300; // ms
|
||||
const MATCH_SCROLL_OFFSET_TOP = -50;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue