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:
		
						commit
						5d3823a81a
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user