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:
parent
f66613c8e4
commit
d5936d9a15
3 changed files with 5 additions and 13 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue