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
......@@ -26,7 +26,7 @@
"ng2-pdf-viewer": "^5.2.4",
"ngx-cookie-service": "^2.1.0",
"ngx-pipes": "^2.4.6",
"pdfjs-dist": "^2.0.943",
"pdfjs-dist": "^2.1.266",
"photoswipe": "^4.1.3",
"tinymce": "^4.9.4",
"tooltipster": "^4.2.6",
......
......@@ -52,6 +52,7 @@ export class HomeComponent extends AutoCompletePlugin implements OnInit {
this.mobileQuery = media.matchMedia('(max-width: 768px)');
this._mobileQueryListener = () => changeDetectorRef.detectChanges();
this.mobileQuery.addListener(this._mobileQueryListener);
(<any>window).pdfWorkerSrc = '../../node_modules/pdfjs-dist/build/pdf.worker.min.js';
}
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