1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

[Editor] Add a missing parameter in the telemetry for the new alt text flow (bug 1914480)

This commit is contained in:
Calixte Denizet 2024-08-25 17:33:42 +02:00
parent 584fef5823
commit e8763a08ab
2 changed files with 6 additions and 3 deletions

View file

@ -159,7 +159,7 @@ class StampEditor extends AnnotationEditor {
) {
this._reportTelemetry({
action: "pdfjs.image.image_added",
data: { alt_text_modal: false },
data: { alt_text_modal: false, alt_text_type: "empty" },
});
try {
// The alt-text dialog isn't opened but we still want to guess the alt