mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
Merge pull request #20521 from calixteman/issue20520
Dont' throw when adding page labels in thumbnails
This commit is contained in:
commit
7f1f5ecf09
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user