Skip to content
Snippets Groups Projects
Verified Commit 04c1f1e1 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #11183 TIME 2 update pdfjs-dist

parent 3f44bd71
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,7 @@ export class HomeComponent extends AutoCompletePlugin implements OnInit { ...@@ -52,6 +52,7 @@ export class HomeComponent extends AutoCompletePlugin implements OnInit {
this.mobileQuery = media.matchMedia('(max-width: 768px)'); this.mobileQuery = media.matchMedia('(max-width: 768px)');
this._mobileQueryListener = () => changeDetectorRef.detectChanges(); this._mobileQueryListener = () => changeDetectorRef.detectChanges();
this.mobileQuery.addListener(this._mobileQueryListener); this.mobileQuery.addListener(this._mobileQueryListener);
(<any>window).pdfWorkerSrc = '../../node_modules/pdfjs-dist/build/pdf.worker.min.js';
} }
ngOnInit(): void { ngOnInit(): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment