Merge pull request #20521 from calixteman/issue20520

Dont' throw when adding page labels in thumbnails
This commit is contained in:
Tim van der Meij 2025-12-23 14:49:57 +01:00 committed by GitHub
commit 7f1f5ecf09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -449,7 +449,6 @@ class PDFThumbnailView {
*/
setPageLabel(label) {
this.pageLabel = typeof label === "string" ? label : null;
this.anchor.setAttribute("data-l10n-args", this.#pageL10nArgs);
this.image.setAttribute("data-l10n-args", this.#pageL10nArgs);
}
}