mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-24 16:07:22 +02:00
Merge pull request #20812 from calixteman/context_menu_follow_up
Fix the event name in some integration tests (follow-up of #20788)
This commit is contained in:
commit
55fe04657b
@ -2203,7 +2203,7 @@ describe("FreeText Editor", () => {
|
|||||||
100,
|
100,
|
||||||
{
|
{
|
||||||
eventBusSetup: eventBus => {
|
eventBusSetup: eventBus => {
|
||||||
eventBus.on("annotationeditorstateschanged", ({ details }) => {
|
eventBus.on("editingstateschanged", ({ details }) => {
|
||||||
window.editingEvents?.push(details);
|
window.editingEvents?.push(details);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -857,7 +857,7 @@ describe("Highlight Editor", () => {
|
|||||||
{
|
{
|
||||||
eventBusSetup: eventBus => {
|
eventBusSetup: eventBus => {
|
||||||
window.editingEvents = [];
|
window.editingEvents = [];
|
||||||
eventBus.on("annotationeditorstateschanged", ({ details }) => {
|
eventBus.on("editingstateschanged", ({ details }) => {
|
||||||
window.editingEvents.push(details);
|
window.editingEvents.push(details);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user