Skip to content

Commit

Permalink
Merge pull request #17173 from Snuffleupagus/ConstL10n-setL10n
Browse files Browse the repository at this point in the history
Fix error that's breaking the `ConstL10n` class (PR 17161 follow-up)
  • Loading branch information
Snuffleupagus authored Oct 25, 2023
2 parents 3124323 + 846bd86 commit 5d3823a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/l10n_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
);
}
Expand Down

0 comments on commit 5d3823a

Please sign in to comment.