mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Fix error that's breaking the ConstL10n
class (PR 17161 follow-up)
I forgot to include `web/l10n_utils.js` in PR 17161, which currently breaks `ConstL10n` since there's no longer a method called `setL10n`; sorry about that!
This commit is contained in:
parent
f098121644
commit
846bd86520
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ import { shadow } from "pdfjs-lib";
|
|||
class ConstL10n extends L10n {
|
||||
constructor(lang) {
|
||||
super({ lang });
|
||||
this.setL10n(
|
||||
this._setL10n(
|
||||
new DOMLocalization([], ConstL10n.#generateBundles.bind(ConstL10n, lang))
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue