mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Merge pull request #12897 from calixteman/12895
JS - Fix mouse event names
This commit is contained in:
commit
f2c7338b02
4 changed files with 20 additions and 22 deletions
|
@ -83,7 +83,7 @@ class EventDispatcher {
|
|||
return;
|
||||
}
|
||||
|
||||
const name = baseEvent.name.replace(" ", "");
|
||||
const name = baseEvent.name;
|
||||
const source = this._objects[id];
|
||||
const event = (globalThis.event = new Event(baseEvent));
|
||||
let savedChange;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue