Merge pull request #17173 from Snuffleupagus/ConstL10n-setL10n

Fix error that's breaking the `ConstL10n` class (PR 17161 follow-up)
This commit is contained in:
Jonas Jenwald 2023-10-25 14:51:33 +02:00 committed by GitHub
commit 5d3823a81a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
);
}