Skip to content

Commit 7f1f5ec

Browse files
Merge pull request #20521 from calixteman/issue20520
Dont' throw when adding page labels in thumbnails
2 parents cc0dada + 6d95eaa commit 7f1f5ec

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

web/pdf_thumbnail_view.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ class PDFThumbnailView {
449449
*/
450450
setPageLabel(label) {
451451
this.pageLabel = typeof label === "string" ? label : null;
452-
this.anchor.setAttribute("data-l10n-args", this.#pageL10nArgs);
453452
this.image.setAttribute("data-l10n-args", this.#pageL10nArgs);
454453
}
455454
}

0 commit comments

Comments
 (0)