1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-23 08:38:06 +02:00

[Editor] Let the Save button always enabled in the alt-text dialog

This commit is contained in:
Calixte Denizet 2023-09-22 19:35:01 +02:00
parent f66613c8e4
commit d5936d9a15
3 changed files with 5 additions and 13 deletions

View file

@ -932,6 +932,9 @@ class AnnotationEditor {
}
set altTextData({ altText, decorative }) {
if (this.#altText === altText && this.#altTextDecorative === decorative) {
return;
}
this.#altText = altText;
this.#altTextDecorative = decorative;
this.#setAltTextButtonState();