diff --git a/web/pdf_thumbnail_view.js b/web/pdf_thumbnail_view.js index 74ea937d32967..9e4a7df66c8e1 100644 --- a/web/pdf_thumbnail_view.js +++ b/web/pdf_thumbnail_view.js @@ -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); } }